Fix crash on x86_64 platform.
authorPeng Huang <phuang@phuang.nay.redhat.com>
Tue, 10 Feb 2009 08:53:00 +0000 (16:53 +0800)
committerPeng Huang <phuang@phuang.nay.redhat.com>
Tue, 10 Feb 2009 08:53:00 +0000 (16:53 +0800)
bus/factoryproxy.c
src/ibusengine.c

index 38357b4..cf30b95 100644 (file)
@@ -186,7 +186,7 @@ bus_factory_proxy_create_engine (BusFactoryProxy *factory,
                                                           -1,
                                                           &error,
                                                           G_TYPE_STRING, &(desc->name),
-                                                          DBUS_TYPE_INVALID);
+                                                          G_TYPE_INVALID);
     if (reply_message == NULL) {
         g_warning ("%s: %s", error->name, error->message);
         ibus_error_free (error);
index ddedcde..0c36dd4 100644 (file)
@@ -505,7 +505,7 @@ ibus_engine_ibus_message (IBusEngine     *engine,
         return_message = ibus_message_new_method_return (message);
         ibus_message_append_args (return_message,
                                   G_TYPE_BOOLEAN, &retval,
-                                  DBUS_TYPE_INVALID);
+                                  G_TYPE_INVALID);
         ibus_connection_send (connection, return_message);
         ibus_message_unref (return_message);
         return TRUE;