diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-24 16:16:56 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-24 16:16:56 +0100 |
commit | 6e619aedc2e6a105d5849519ae50e9d2b1145c88 (patch) | |
tree | 8f4643663344d7a7f5da23ce657911cd3453b7a5 /capplets/keyboard/mate-keyboard-properties-xkbmc.c | |
parent | 356930f6f372c5d51d9b7fe61a98efc4b0b1fc08 (diff) | |
download | mate-control-center-6e619aedc2e6a105d5849519ae50e9d2b1145c88.tar.bz2 mate-control-center-6e619aedc2e6a105d5849519ae50e9d2b1145c88.tar.xz |
keyboard: Add GTK3 support
Diffstat (limited to 'capplets/keyboard/mate-keyboard-properties-xkbmc.c')
-rw-r--r-- | capplets/keyboard/mate-keyboard-properties-xkbmc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/capplets/keyboard/mate-keyboard-properties-xkbmc.c b/capplets/keyboard/mate-keyboard-properties-xkbmc.c index 20cd63be..1be85b36 100644 --- a/capplets/keyboard/mate-keyboard-properties-xkbmc.c +++ b/capplets/keyboard/mate-keyboard-properties-xkbmc.c @@ -29,6 +29,11 @@ #include <gio/gio.h> #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" #include "mate-keyboard-properties-xkb.h" |