system-controller: fix trailing white space in a few scripting-*.c.
authorKrisztian Litkey <kli@iki.fi>
Wed, 22 Oct 2014 17:09:43 +0000 (20:09 +0300)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 8 Jan 2015 16:37:18 +0000 (18:37 +0200)
Change-Id: I3e4c7d84b5305d83c767a6634f698192a2357491

src/plugins/system-controller/wayland/scripting-code.c
src/plugins/system-controller/wayland/scripting-input.c
src/plugins/system-controller/wayland/scripting-layer.c
src/plugins/system-controller/wayland/scripting-output.c
src/plugins/system-controller/wayland/scripting-window.c

index 924800d..87126ce 100644 (file)
@@ -157,7 +157,7 @@ void *mrp_wayland_scripting_code_create_from_c(lua_State *L,
     int32_t index;
 
     MRP_ASSERT(code, "invald argument");
-    
+
     if (!L && !(L = mrp_lua_get_lua_state())) {
         mrp_log_error("can't create scripting code %d: LUA is "
                       "not initialized", code->id);
@@ -196,9 +196,9 @@ void mrp_wayland_scripting_code_destroy_from_c(lua_State *L,
         mrp_debug("destroy scripting code %d", code->id);
 
         sc->code = NULL;
-        
+
         mrp_lua_destroy_object(L, NULL,sc->index, code->scripting_data);
-        
+
         code->scripting_data = NULL;
     }
 }
index 5e9b438..a2ed6b0 100644 (file)
@@ -154,7 +154,7 @@ void *mrp_wayland_scripting_input_create_from_c(lua_State *L,
     scripting_input_t *si;
 
     MRP_ASSERT(inp, "invald argument");
-    
+
     if (!L && !(L = mrp_lua_get_lua_state())) {
         mrp_log_error("can't create scripting input %d: LUA is "
                       "not initialized", inp->id);
@@ -192,9 +192,9 @@ void mrp_wayland_scripting_input_destroy_from_c(lua_State *L,
         mrp_debug("destroy scripting input %d", inp->id);
 
         si->inp = NULL;
-        
+
         mrp_lua_destroy_object(L, NULL,inp->id+1, inp->scripting_data);
-        
+
         inp->scripting_data = NULL;
     }
 }
index 0c08e16..512716d 100644 (file)
@@ -256,7 +256,7 @@ static int layer_getfield(lua_State *L)
         case OUTPUTNAME:
             lua_pushstring(L, layer->outputname ? layer->outputname : "");
             break;
-                                                           
+
         case VISIBLE:
             lua_pushboolean(L, layer->visible);
             break;
index 29a9b3b..78961fa 100644 (file)
@@ -159,9 +159,9 @@ void *mrp_wayland_scripting_output_create_from_c(lua_State *L,
     mrp_wayland_t *wl;
 
     MRP_ASSERT(out && out->interface && out->interface->wl, "invald argument");
-    
+
     wl = out->interface->wl;
-    
+
     if (!wl->create_scripting_outputs)
         o = NULL;
     else if (out->scripting_data)
index 2231871..778f2c1 100644 (file)
@@ -214,7 +214,7 @@ void *mrp_wayland_scripting_window_create_from_c(lua_State *L,
     scripting_window_t *w;
 
     MRP_ASSERT(win, "invald argument");
-    
+
     if (!L && !(L = mrp_lua_get_lua_state())) {
         mrp_log_error("can't create scripting window %d: LUA is "
                       "not initialized", win->surfaceid);
@@ -642,9 +642,9 @@ void mrp_wayland_scripting_window_map_destroy_from_c(lua_State *L,
         mrp_debug("destroy scripting window map");
 
         swm->map = NULL;
-        
+
         mrp_lua_destroy_object(L, NULL,0, swm);
-        
+
         map->scripting_data = NULL;
     }
 }