Free all XKB data. (#349997, Chris Wilson)

2006-08-06  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkkeys-x11.c (gdk_keymap_x11_finalize): Free
	all XKB data. (#349997, Chris Wilson)
This commit is contained in:
Matthias Clasen 2006-08-06 06:01:18 +00:00 committed by Matthias Clasen
parent 97f4c323eb
commit c6985e1394
3 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2006-08-06 Matthias Clasen <mclasen@redhat.com> 2006-08-06 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkkeys-x11.c (gdk_keymap_x11_finalize): Free
all XKB data. (#349997, Chris Wilson)
* gtk/gtkstyle.c (option_menu_get_props): Only get the * gtk/gtkstyle.c (option_menu_get_props): Only get the
indicator-size and indicator-spacing style properties indicator-size and indicator-spacing style properties
for GtkOptionMenu. (#349859, Benjamin Otte) for GtkOptionMenu. (#349859, Benjamin Otte)

View File

@ -1,5 +1,8 @@
2006-08-06 Matthias Clasen <mclasen@redhat.com> 2006-08-06 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkkeys-x11.c (gdk_keymap_x11_finalize): Free
all XKB data. (#349997, Chris Wilson)
* gtk/gtkstyle.c (option_menu_get_props): Only get the * gtk/gtkstyle.c (option_menu_get_props): Only get the
indicator-size and indicator-spacing style properties indicator-size and indicator-spacing style properties
for GtkOptionMenu. (#349859, Benjamin Otte) for GtkOptionMenu. (#349859, Benjamin Otte)

View File

@ -187,7 +187,7 @@ gdk_keymap_x11_finalize (GObject *object)
#ifdef HAVE_XKB #ifdef HAVE_XKB
if (keymap_x11->xkb_desc) if (keymap_x11->xkb_desc)
XkbFreeClientMap (keymap_x11->xkb_desc, 0, True); XkbFreeKeyboard (keymap_x11->xkb_desc, XkbAllComponentsMask, True);
#endif #endif
G_OBJECT_CLASS (parent_class)->finalize (object); G_OBJECT_CLASS (parent_class)->finalize (object);