summaryrefslogtreecommitdiff
path: root/capplets/keyboard/mate-keyboard-properties-xkbmc.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-27 16:30:06 +0200
committerinfirit <[email protected]>2014-05-27 16:30:06 +0200
commit469b3c47fce9ea13e50a4448064f97cf297452f8 (patch)
tree64f7c20f6b55b3e3811103c7571292194864eb7f /capplets/keyboard/mate-keyboard-properties-xkbmc.c
parent13d0f05fb98284839d1dea3fc667903c8a82a40b (diff)
downloadmate-control-center-469b3c47fce9ea13e50a4448064f97cf297452f8.tar.bz2
mate-control-center-469b3c47fce9ea13e50a4448064f97cf297452f8.tar.xz
Cleanup GTK_CHECK_VERSION and unify where possible
gdk_display_get_default | since 2.2 gdk_x11_display_get_xdisplay | since 2.2 gdk_drag_context_list_targets | since 2.22 gdk_x11_window_foreign_new_for_display | since 2.24 gdk_drawable_get_screen | since 2.24 gtk_widget_hide | always
Diffstat (limited to 'capplets/keyboard/mate-keyboard-properties-xkbmc.c')
-rw-r--r--capplets/keyboard/mate-keyboard-properties-xkbmc.c7
1 files changed, 2 insertions, 5 deletions
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);
}