summaryrefslogtreecommitdiff
path: root/pluma/pluma-session.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-10-30 00:56:56 +0100
committerStefano Karapetsas <[email protected]>2013-10-30 00:56:56 +0100
commit7f0ccea48196a0da9523db3d566ee8020cd742a1 (patch)
tree4a66f87edcc70ca3949c750148df218c9a41ba28 /pluma/pluma-session.c
parent5f87f646777bf5b09610bbc6eed8fafd007f34c6 (diff)
downloadpluma-7f0ccea48196a0da9523db3d566ee8020cd742a1.tar.bz2
pluma-7f0ccea48196a0da9523db3d566ee8020cd742a1.tar.xz
pluma: Add GTK3 support
Diffstat (limited to 'pluma/pluma-session.c')
-rw-r--r--pluma/pluma-session.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pluma/pluma-session.c b/pluma/pluma-session.c
index cdb1a4ee..2cc4ec39 100644
--- a/pluma/pluma-session.c
+++ b/pluma/pluma-session.c
@@ -54,6 +54,10 @@
#include "dialogs/pluma-close-confirmation-dialog.h"
#include "smclient/eggsmclient.h"
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define GTK_WIDGET_VISIBLE gtk_widget_get_visible
+#endif
+
/* The master client we use for SM */
static EggSMClient *master_client = NULL;