summaryrefslogtreecommitdiff
path: root/geyes/themes.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-19 21:35:52 +0100
committerStefano Karapetsas <[email protected]>2014-01-19 21:35:52 +0100
commitbc342abd6a3f49a1b1eff3b9d7121841e29053e3 (patch)
tree73802418b2972f2fa6a0494d1a7fc4a932ed8c63 /geyes/themes.c
parent406473f25e5282340bfc1a0057561f1f3922b08a (diff)
downloadmate-applets-bc342abd6a3f49a1b1eff3b9d7121841e29053e3.tar.bz2
mate-applets-bc342abd6a3f49a1b1eff3b9d7121841e29053e3.tar.xz
geyes: Add GTK3 support
Diffstat (limited to 'geyes/themes.c')
-rw-r--r--geyes/themes.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/geyes/themes.c b/geyes/themes.c
index 285b5b01..0f5ee028 100644
--- a/geyes/themes.c
+++ b/geyes/themes.c
@@ -130,7 +130,9 @@ load_theme (EyesApplet *eyes_applet, const gchar *theme_dir)
_("Can not launch the eyes applet."),
_("There was a fatal error while trying to load the theme."));
+#if !GTK_CHECK_VERSION (3, 0, 0)
gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
+#endif
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -295,7 +297,9 @@ properties_cb (GtkAction *action,
gtk_widget_set_size_request (GTK_WIDGET (pbox), 300, 200);
gtk_dialog_set_default_response(GTK_DIALOG (pbox), GTK_RESPONSE_CLOSE);
+#if !GTK_CHECK_VERSION (3, 0, 0)
gtk_dialog_set_has_separator (GTK_DIALOG (pbox), FALSE);
+#endif
gtk_container_set_border_width (GTK_CONTAINER (pbox), 5);
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (pbox))), 2);