summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/indicator.vala8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/indicator.vala b/src/gui/indicator.vala
index c8ef445..c334dd1 100644
--- a/src/gui/indicator.vala
+++ b/src/gui/indicator.vala
@@ -68,8 +68,12 @@ public class Indicator : GLib.Object {
public Indicator() {
string icon = "";
-
- if (Gdk.X11Screen.get_window_manager_name(Gdk.Screen.get_default()) == "Mutter")
+
+ #if HAVE_GTK_3
+ if (Gdk.X11Screen.get_window_manager_name(Gdk.Screen.get_default()) == "Mutter")
+ #else
+ if (Gdk.x11_screen_get_window_manager_name(Gdk.Screen.get_default()) == "Mutter")
+ #endif
icon = "gnome-pie";
else
icon = "gnome-pie-symbolic";