summaryrefslogtreecommitdiffstats
path: root/lib/gtk2
diff options
context:
space:
mode:
authorHuang Peng <shawn.p.huang@gmail.com>2008-08-16 14:13:19 +0800
committerHuang Peng <shawn.p.huang@gmail.com>2008-08-16 14:13:19 +0800
commiteea4913d52c8f4fc1ebf3173688305380e32d836 (patch)
treec2d7761d51a4b1a96b15150b017137f9ad7ed2e6 /lib/gtk2
parent5f630039085256b53f9935d4d5a94de56c0deec8 (diff)
downloadibus-eea4913d52c8f4fc1ebf3173688305380e32d836.tar.gz
ibus-eea4913d52c8f4fc1ebf3173688305380e32d836.tar.xz
ibus-eea4913d52c8f4fc1ebf3173688305380e32d836.zip
WIP.
Diffstat (limited to 'lib/gtk2')
-rw-r--r--lib/gtk2/ibusimclient.c3
-rw-r--r--lib/gtk2/ibusimclient.h2
2 files changed, 0 insertions, 5 deletions
diff --git a/lib/gtk2/ibusimclient.c b/lib/gtk2/ibusimclient.c
index 7829097..2c3e472 100644
--- a/lib/gtk2/ibusimclient.c
+++ b/lib/gtk2/ibusimclient.c
@@ -579,8 +579,6 @@ ibus_im_client_finalize (GObject *obj)
IBusIMClient *client = IBUS_IM_CLIENT (obj);
IBusIMClientPrivate *priv = client->priv;
- g_assert (client == _client);
-
#ifdef HAVE_INOTIFY
g_source_remove (priv->inotify_source);
g_io_channel_unref (priv->inotify_channel);
@@ -595,7 +593,6 @@ ibus_im_client_finalize (GObject *obj)
G_OBJECT_CLASS(parent_class)->finalize (obj);
- _client = NULL;
}
static void
diff --git a/lib/gtk2/ibusimclient.h b/lib/gtk2/ibusimclient.h
index a0e4f75..00b3fd8 100644
--- a/lib/gtk2/ibusimclient.h
+++ b/lib/gtk2/ibusimclient.h
@@ -88,8 +88,6 @@ struct _IBusIMClientClass {
const gchar *ic);
};
-extern IBusIMClient *_client;
-
GType ibus_im_client_get_type (void);
void ibus_im_client_register_type (GTypeModule *type_module);
IBusIMClient *ibus_im_client_new (void);