diff options
Diffstat (limited to 'capplets/keyboard')
-rw-r--r-- | capplets/keyboard/mate-keyboard-properties-xkbltadd.c | 4 | ||||
-rw-r--r-- | capplets/keyboard/mate-keyboard-properties-xkbmc.c | 7 |
2 files changed, 2 insertions, 9 deletions
diff --git a/capplets/keyboard/mate-keyboard-properties-xkbltadd.c b/capplets/keyboard/mate-keyboard-properties-xkbltadd.c index 3a079e83..7ec09919 100644 --- a/capplets/keyboard/mate-keyboard-properties-xkbltadd.c +++ b/capplets/keyboard/mate-keyboard-properties-xkbltadd.c @@ -545,11 +545,7 @@ xkb_layout_choose (GtkBuilder * dialog) } else #endif { -#if GTK_CHECK_VERSION (3, 0, 0) gtk_widget_hide (CWID ("vboxPreview")); -#else - gtk_widget_hide_all (CWID ("vboxPreview")); -#endif gtk_widget_hide (CWID ("btnPrint")); } diff --git a/capplets/keyboard/mate-keyboard-properties-xkbmc.c b/capplets/keyboard/mate-keyboard-properties-xkbmc.c index 1be85b36..e6ae7eb7 100644 --- a/capplets/keyboard/mate-keyboard-properties-xkbmc.c +++ b/capplets/keyboard/mate-keyboard-properties-xkbmc.c @@ -30,9 +30,6 @@ #include <glib/gi18n.h> #include <gtk/gtk.h> -#if GTK_CHECK_VERSION (3, 0, 0) -#define gtk_widget_hide_all gtk_widget_hide -#endif #include "capplet-util.h" @@ -332,8 +329,8 @@ choose_model (GtkBuilder * dialog) prepare_models_list (chooser_dialog); if (!fill_vendors_list (chooser_dialog)) { - gtk_widget_hide_all (CWID ("vendors_label")); - gtk_widget_hide_all (CWID ("vendors_scrolledwindow")); + gtk_widget_hide (CWID ("vendors_label")); + gtk_widget_hide (CWID ("vendors_scrolledwindow")); current_vendor_name = NULL; fill_models_list (chooser_dialog); } |