From 3690112009665d22db241f2be574d98c1d1763a2 Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Sat, 20 Oct 2001 01:39:17 +0000 Subject: since GtkIMContext derives directly from GObject now, we have to use the Fri Oct 19 18:35:22 2001 Manish Singh * gtk/{gtkentry.c,gtktextview.c}: since GtkIMContext derives directly from GObject now, we have to use the g_object_* functions, not gtk_object_*. --- gtk/gtkentry.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gtk/gtkentry.c') diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index bebc072516..dfbcb4ac9b 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -903,10 +903,10 @@ gtk_entry_init (GtkEntry *entry) */ entry->im_context = gtk_im_multicontext_new (); - gtk_signal_connect (GTK_OBJECT (entry->im_context), "commit", - GTK_SIGNAL_FUNC (gtk_entry_commit_cb), entry); - gtk_signal_connect (GTK_OBJECT (entry->im_context), "preedit_changed", - GTK_SIGNAL_FUNC (gtk_entry_preedit_changed_cb), entry); + g_signal_connect (G_OBJECT (entry->im_context), "commit", + G_CALLBACK (gtk_entry_commit_cb), entry); + g_signal_connect (G_OBJECT (entry->im_context), "preedit_changed", + G_CALLBACK (gtk_entry_preedit_changed_cb), entry); } static void @@ -921,7 +921,7 @@ gtk_entry_finalize (GObject *object) if (entry->cached_layout) g_object_unref (G_OBJECT (entry->cached_layout)); - gtk_object_unref (GTK_OBJECT (entry->im_context)); + g_object_unref (G_OBJECT (entry->im_context)); if (entry->blink_timeout) g_source_remove (entry->blink_timeout); -- cgit v1.2.1