Fix wrong args of trigger signal callbacks
authorPeng Huang <shawn.p.huang@gmail.com>
Tue, 28 Apr 2009 07:36:12 +0000 (15:36 +0800)
committerPeng Huang <shawn.p.huang@gmail.com>
Tue, 28 Apr 2009 07:36:12 +0000 (15:36 +0800)
src/ibushotkey.c
src/ibushotkey.h

index 91eab97..886ee32 100644 (file)
@@ -72,7 +72,8 @@ static gboolean      ibus_hotkey_profile_deserialize(IBusHotkeyProfile      *pro
 static gboolean      ibus_hotkey_profile_copy       (IBusHotkeyProfile      *dest,
                                                      const IBusHotkeyProfile*src);
 static void          ibus_hotkey_profile_trigger    (IBusHotkeyProfile      *profile,
-                                                     GQuark                  event);
+                                                     GQuark                  event,
+                                                     gpointer                user_data);
 
 static IBusSerializableClass *parent_class = NULL;
 
@@ -322,7 +323,8 @@ ibus_hotkey_profile_new (void)
 
 static void
 ibus_hotkey_profile_trigger (IBusHotkeyProfile *profile,
-                             GQuark             event)
+                             GQuark             event,
+                             gpointer           user_data)
 {
     // g_debug ("%s is triggerred", g_quark_to_string (event));
 }
index 03331dd..1597537 100644 (file)
@@ -54,7 +54,8 @@ struct _IBusHotkeyProfileClass {
     IBusSerializableClass parent;
 
     void (* trigger) (IBusHotkeyProfile *profile,
-                      GQuark             event);
+                      GQuark             event,
+                      gpointer           user_data);
 };
 
 /* hotkey profile functions */