summaryrefslogtreecommitdiff
path: root/src/gui
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
commit824159fc54dc31ac3dbdb57a85d1db7cb86cccca (patch)
tree4fa5f2436d69a9126e408e2ef7f2d6ee48c343ae /src/gui
parent9ec9162a9c23cc0073cf8f025ca84e7e46bd3283 (diff)
parent5cf585bfd897084175f1b8f8f0d8c1c27614f288 (diff)
Merge tag 'upstream/0.5.2'
Upstream version 0.5.2
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";