summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-25 21:58:26 +0100
committerinfirit <[email protected]>2014-11-26 18:13:43 +0100
commita65f9460af5bf6a0172a59553aa9bd346b961b80 (patch)
tree1da554c0936a84577e5a91bb2c7d3af137393282
parentb66cea481c1ab534f741362f5127bdacca363fd0 (diff)
downloadmate-applets-a65f9460af5bf6a0172a59553aa9bd346b961b80.tar.bz2
mate-applets-a65f9460af5bf6a0172a59553aa9bd346b961b80.tar.xz
stickynotes: we do not use the status anywhere so it has to go.
-rw-r--r--stickynotes/stickynotes_applet_callbacks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stickynotes/stickynotes_applet_callbacks.c b/stickynotes/stickynotes_applet_callbacks.c
index b3ddcf02..9defba8a 100644
--- a/stickynotes/stickynotes_applet_callbacks.c
+++ b/stickynotes/stickynotes_applet_callbacks.c
@@ -183,13 +183,13 @@ void install_check_click_on_desktop (void)
gulong bytes;
/* We only use this extra property if the actual user-time property's missing */
- int status = XGetWindowProperty(GDK_DISPLAY_XDISPLAY(gdk_display_get_default()), desktop_window, user_time,
+ XGetWindowProperty(GDK_DISPLAY_XDISPLAY(gdk_display_get_default()), desktop_window, user_time,
0, 4, False, AnyPropertyType, &actual_type, &actual_format,
&nitems, &bytes, (unsigned char **)&data );
if (actual_type == None)
{
/* No user-time property, so look for the user-time-window */
- status = XGetWindowProperty(GDK_DISPLAY_XDISPLAY(gdk_display_get_default()), desktop_window, user_time_window,
+ XGetWindowProperty(GDK_DISPLAY_XDISPLAY(gdk_display_get_default()), desktop_window, user_time_window,
0, 4, False, AnyPropertyType, &actual_type, &actual_format,
&nitems, &bytes, (unsigned char **)&data );
if (actual_type != None)