summaryrefslogtreecommitdiff
path: root/stickynotes
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-25 22:40:09 +0100
committerinfirit <[email protected]>2014-11-26 18:13:43 +0100
commit8f4a99262a9b1881819f4003fe2c925a67f59fbc (patch)
tree00d04c5702c4119fdcc796dc5d718c4bbe635e0e /stickynotes
parentd18e431e7379126662f45fb2648d40f21e84e021 (diff)
downloadmate-applets-8f4a99262a9b1881819f4003fe2c925a67f59fbc.tar.bz2
mate-applets-8f4a99262a9b1881819f4003fe2c925a67f59fbc.tar.xz
stickynotes: Remove redundant store of root_window.
Diffstat (limited to 'stickynotes')
-rw-r--r--stickynotes/util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/stickynotes/util.c b/stickynotes/util.c
index 9f395093..0af1fc9b 100644
--- a/stickynotes/util.c
+++ b/stickynotes/util.c
@@ -88,8 +88,6 @@ xstuff_get_current_workspace (GtkWindow *window)
int retval;
Display *gdk_display;
- root_window = GDK_WINDOW_XID (gdk_screen_get_root_window (
- gtk_widget_get_screen (GTK_WIDGET (window))));
root_window = GDK_WINDOW_XID (gtk_widget_get_window (GTK_WIDGET (window)));
gdk_display = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ());