diff --git a/src/gtkutil.c b/src/gtkutil.c index 0e9dd4dfe11..54d2bc63077 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -1735,7 +1735,6 @@ xg_create_frame_widgets (struct frame *f) g_signal_connect (wtop, "query-tooltip", G_CALLBACK (qttip_cb), f); imc = gtk_im_multicontext_new (); - g_object_ref (imc); gtk_im_context_set_use_preedit (imc, TRUE); g_signal_connect (G_OBJECT (imc), "commit",