Dont redeclare DBusMessage* msg;
authorBrandon Schaefer <brandon.schaefer@canonical.com>
Fri, 18 Jul 2014 14:10:45 -0700
changeset 9009 ddbca09f8f9d
parent 9008 f061a86fbb08
child 9010 6d059ed9b6ca
Dont redeclare DBusMessage* msg;
src/core/linux/SDL_ibus.c
--- a/src/core/linux/SDL_ibus.c	Sun Jul 13 09:04:55 2014 -0700
+++ b/src/core/linux/SDL_ibus.c	Fri Jul 18 14:10:45 2014 -0700
@@ -331,10 +331,10 @@
     }
 
     if(result){
-        DBusMessage *msg = dbus->message_new_method_call(IBUS_SERVICE,
-                                                         input_ctx_path,
-                                                         IBUS_INPUT_INTERFACE,
-                                                         "SetCapabilities");
+        msg = dbus->message_new_method_call(IBUS_SERVICE,
+                                            input_ctx_path,
+                                            IBUS_INPUT_INTERFACE,
+                                            "SetCapabilities");
         if(msg){
             Uint32 caps = IBUS_CAP_FOCUS | IBUS_CAP_PREEDIT_TEXT;
             dbus->message_append_args(msg,