summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlessandro Ghedini <al3xbio@gmail.com>2012-03-19 18:41:41 +0100
committerAlessandro Ghedini <al3xbio@gmail.com>2012-03-19 18:41:41 +0100
commit5cf585bfd897084175f1b8f8f0d8c1c27614f288 (patch)
tree4ec0e5bc20d754f4c9643a502262ddaf4c6f1c44 /src
parenta248b1597394b4ee9a5817bc95c3c116e76cdd8f (diff)
Imported Upstream version 0.5.2upstream/0.5.2
Diffstat (limited to 'src')
-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";