Fix up finalizer to chain to its parent.

Mon Dec 11 10:02:26 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkimcontextsimple.c (gtk_im_context_simple_finalize):
	Fix up finalizer to chain to its parent.
This commit is contained in:
Owen Taylor 2000-12-11 15:04:36 +00:00 committed by Owen Taylor
parent a2a237101a
commit 116853db94
8 changed files with 65 additions and 8 deletions

View File

@ -1,3 +1,8 @@
Mon Dec 11 10:02:26 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_finalize):
Fix up finalizer to chain to its parent.
2000-12-11 Alexander Larsson <alexl@redhat.com>
* docs/README.linux-fb (GDK_KEYBOARD_TYPE):
@ -115,8 +120,10 @@
function, noticed by Alex
2000-12-06 Elliot Lee <sopwith@redhat.com>
* configure.in: Detect freetype properly
* modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of above.
* modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of
above.
2000-12-06 Alexander Larsson <alexl@redhat.com>

View File

@ -1,3 +1,8 @@
Mon Dec 11 10:02:26 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_finalize):
Fix up finalizer to chain to its parent.
2000-12-11 Alexander Larsson <alexl@redhat.com>
* docs/README.linux-fb (GDK_KEYBOARD_TYPE):
@ -115,8 +120,10 @@
function, noticed by Alex
2000-12-06 Elliot Lee <sopwith@redhat.com>
* configure.in: Detect freetype properly
* modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of above.
* modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of
above.
2000-12-06 Alexander Larsson <alexl@redhat.com>

View File

@ -1,3 +1,8 @@
Mon Dec 11 10:02:26 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_finalize):
Fix up finalizer to chain to its parent.
2000-12-11 Alexander Larsson <alexl@redhat.com>
* docs/README.linux-fb (GDK_KEYBOARD_TYPE):
@ -115,8 +120,10 @@
function, noticed by Alex
2000-12-06 Elliot Lee <sopwith@redhat.com>
* configure.in: Detect freetype properly
* modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of above.
* modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of
above.
2000-12-06 Alexander Larsson <alexl@redhat.com>

View File

@ -1,3 +1,8 @@
Mon Dec 11 10:02:26 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_finalize):
Fix up finalizer to chain to its parent.
2000-12-11 Alexander Larsson <alexl@redhat.com>
* docs/README.linux-fb (GDK_KEYBOARD_TYPE):
@ -115,8 +120,10 @@
function, noticed by Alex
2000-12-06 Elliot Lee <sopwith@redhat.com>
* configure.in: Detect freetype properly
* modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of above.
* modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of
above.
2000-12-06 Alexander Larsson <alexl@redhat.com>

View File

@ -1,3 +1,8 @@
Mon Dec 11 10:02:26 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_finalize):
Fix up finalizer to chain to its parent.
2000-12-11 Alexander Larsson <alexl@redhat.com>
* docs/README.linux-fb (GDK_KEYBOARD_TYPE):
@ -115,8 +120,10 @@
function, noticed by Alex
2000-12-06 Elliot Lee <sopwith@redhat.com>
* configure.in: Detect freetype properly
* modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of above.
* modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of
above.
2000-12-06 Alexander Larsson <alexl@redhat.com>

View File

@ -1,3 +1,8 @@
Mon Dec 11 10:02:26 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_finalize):
Fix up finalizer to chain to its parent.
2000-12-11 Alexander Larsson <alexl@redhat.com>
* docs/README.linux-fb (GDK_KEYBOARD_TYPE):
@ -115,8 +120,10 @@
function, noticed by Alex
2000-12-06 Elliot Lee <sopwith@redhat.com>
* configure.in: Detect freetype properly
* modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of above.
* modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of
above.
2000-12-06 Alexander Larsson <alexl@redhat.com>

View File

@ -1,3 +1,8 @@
Mon Dec 11 10:02:26 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_finalize):
Fix up finalizer to chain to its parent.
2000-12-11 Alexander Larsson <alexl@redhat.com>
* docs/README.linux-fb (GDK_KEYBOARD_TYPE):
@ -115,8 +120,10 @@
function, noticed by Alex
2000-12-06 Elliot Lee <sopwith@redhat.com>
* configure.in: Detect freetype properly
* modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of above.
* modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of
above.
2000-12-06 Alexander Larsson <alexl@redhat.com>

View File

@ -802,7 +802,15 @@ gtk_im_context_simple_finalize (GObject *obj)
{
GtkIMContextSimple *context_simple = GTK_IM_CONTEXT_SIMPLE (obj);
g_slist_free (context_simple->tables);
if (context_simple->tables)
{
g_slist_foreach (context_simple->tables, (GFunc)g_free, NULL);
g_slist_free (context_simple->tables);
context_simple->tables = NULL;
}
parent_class->finalize (obj);
}
GtkIMContext *