Send DestroyContext when EekboardClient#dispose.

This commit is contained in:
Daiki Ueno
2011-09-01 11:19:41 +09:00
parent 04ac7fb19e
commit db3538af64
2 changed files with 36 additions and 16 deletions

View File

@ -219,10 +219,6 @@ client_dispose (GObject *object)
#endif /* HAVE_XTEST */
if (client->context) {
if (client->eekboard) {
eekboard_client_pop_context (client->eekboard, NULL);
}
g_object_unref (client->context);
client->context = NULL;
}