summaryrefslogtreecommitdiff
path: root/stickynotes
diff options
context:
space:
mode:
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 ());