Make GtkIMContext derive from GObject, not GtkObject. (#62621)

Fri Oct 19 15:08:30 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/{gtkimcontext.c,gtkimcontextsimple.c,gtkimmulticontext.c}
	modules/input/{gtkimcontextxim.c,imcyrillic-translit.c,iminuktitut.c,
	imipa.c,imthai-broken.c,imviqr.c}: Make GtkIMContext derive from
	GObject, not GtkObject. (#62621)
This commit is contained in:
Owen Taylor
2001-10-19 19:28:27 +00:00
committed by Owen Taylor
parent fcc8790748
commit effa390541
16 changed files with 144 additions and 78 deletions

View File

@ -273,7 +273,7 @@ GtkIMContext *
im_module_create (const gchar *context_id)
{
if (strcmp (context_id, "viqr") == 0)
return GTK_IM_CONTEXT (gtk_type_new (type_viqr_translit));
return GTK_IM_CONTEXT (g_object_new (type_viqr_translit, NULL));
else
return NULL;
}