Revision: 7392
Author:   nogu.dev
Date:     Mon Jan  2 02:11:06 2012
Log:      * gtk2/pref/gtk-custom-widgets.c
  - (choose_table_clicked_cb): Check if custom variable is
    UCustom_Table.
http://code.google.com/p/uim/source/detail?r=7392

Modified:
 /trunk/gtk2/pref/gtk-custom-widgets.c

=======================================
--- /trunk/gtk2/pref/gtk-custom-widgets.c       Mon Jan  2 02:10:56 2012
+++ /trunk/gtk2/pref/gtk-custom-widgets.c       Mon Jan  2 02:11:06 2012
@@ -2245,6 +2245,7 @@
   g_return_if_fail(custom_sym);

   custom = uim_custom_get(custom_sym);
+  g_return_if_fail(custom && custom->type == UCustom_Table);

   dialog = gtk_dialog_new_with_buttons(
     dgettext(GETTEXT_PACKAGE, custom->label),

Reply via email to