Commit 36901120 authored by Manish Singh's avatar Manish Singh Committed by Manish Singh
Browse files

since GtkIMContext derives directly from GObject now, we have to use the

Fri Oct 19 18:35:22 2001  Manish Singh  <yosh@gimp.org>

        * gtk/{gtkentry.c,gtktextview.c}: since GtkIMContext derives directly
        from GObject now, we have to use the g_object_* functions, not
        gtk_object_*.
parent 24f99d64
Fri Oct 19 18:35:22 2001 Manish Singh <yosh@gimp.org>
* gtk/{gtkentry.c,gtktextview.c}: since GtkIMContext derives directly
from GObject now, we have to use the g_object_* functions, not
gtk_object_*.
Fri Oct 19 22:46:54 2001 Kristian Rietveld <kristian@planet.nl>
 
* gtk/gtktreemodelsort.[ch]: we probably have rows_reordered
......
Fri Oct 19 18:35:22 2001 Manish Singh <yosh@gimp.org>
* gtk/{gtkentry.c,gtktextview.c}: since GtkIMContext derives directly
from GObject now, we have to use the g_object_* functions, not
gtk_object_*.
Fri Oct 19 22:46:54 2001 Kristian Rietveld <kristian@planet.nl>
 
* gtk/gtktreemodelsort.[ch]: we probably have rows_reordered
......
Fri Oct 19 18:35:22 2001 Manish Singh <yosh@gimp.org>
* gtk/{gtkentry.c,gtktextview.c}: since GtkIMContext derives directly
from GObject now, we have to use the g_object_* functions, not
gtk_object_*.
Fri Oct 19 22:46:54 2001 Kristian Rietveld <kristian@planet.nl>
 
* gtk/gtktreemodelsort.[ch]: we probably have rows_reordered
......
Fri Oct 19 18:35:22 2001 Manish Singh <yosh@gimp.org>
* gtk/{gtkentry.c,gtktextview.c}: since GtkIMContext derives directly
from GObject now, we have to use the g_object_* functions, not
gtk_object_*.
Fri Oct 19 22:46:54 2001 Kristian Rietveld <kristian@planet.nl>
 
* gtk/gtktreemodelsort.[ch]: we probably have rows_reordered
......
Fri Oct 19 18:35:22 2001 Manish Singh <yosh@gimp.org>
* gtk/{gtkentry.c,gtktextview.c}: since GtkIMContext derives directly
from GObject now, we have to use the g_object_* functions, not
gtk_object_*.
Fri Oct 19 22:46:54 2001 Kristian Rietveld <kristian@planet.nl>
 
* gtk/gtktreemodelsort.[ch]: we probably have rows_reordered
......
Fri Oct 19 18:35:22 2001 Manish Singh <yosh@gimp.org>
* gtk/{gtkentry.c,gtktextview.c}: since GtkIMContext derives directly
from GObject now, we have to use the g_object_* functions, not
gtk_object_*.
Fri Oct 19 22:46:54 2001 Kristian Rietveld <kristian@planet.nl>
 
* gtk/gtktreemodelsort.[ch]: we probably have rows_reordered
......
Fri Oct 19 18:35:22 2001 Manish Singh <yosh@gimp.org>
* gtk/{gtkentry.c,gtktextview.c}: since GtkIMContext derives directly
from GObject now, we have to use the g_object_* functions, not
gtk_object_*.
Fri Oct 19 22:46:54 2001 Kristian Rietveld <kristian@planet.nl>
 
* gtk/gtktreemodelsort.[ch]: we probably have rows_reordered
......
......@@ -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);
......
......@@ -967,11 +967,11 @@ gtk_text_view_init (GtkTextView *text_view)
*/
text_view->im_context = gtk_im_multicontext_new ();
gtk_signal_connect (GTK_OBJECT (text_view->im_context), "commit",
GTK_SIGNAL_FUNC (gtk_text_view_commit_handler), text_view);
g_signal_connect (G_OBJECT (text_view->im_context), "commit",
G_CALLBACK (gtk_text_view_commit_handler), text_view);
gtk_signal_connect (GTK_OBJECT (text_view->im_context), "preedit_changed",
GTK_SIGNAL_FUNC (gtk_text_view_preedit_changed_handler), text_view);
g_signal_connect (G_OBJECT (text_view->im_context), "preedit_changed",
G_CALLBACK (gtk_text_view_preedit_changed_handler), text_view);
text_view->cursor_visible = TRUE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment