summaryrefslogtreecommitdiff
path: root/stickynotes/stickynotes_applet_callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'stickynotes/stickynotes_applet_callbacks.c')
-rw-r--r--stickynotes/stickynotes_applet_callbacks.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/stickynotes/stickynotes_applet_callbacks.c b/stickynotes/stickynotes_applet_callbacks.c
index 038509eb..b3ddcf02 100644
--- a/stickynotes/stickynotes_applet_callbacks.c
+++ b/stickynotes/stickynotes_applet_callbacks.c
@@ -137,8 +137,6 @@ gboolean applet_cross_cb(GtkWidget *widget, GdkEventCrossing *event, StickyNotes
/* Applet Callback : On focus (in or out) of the applet. */
gboolean applet_focus_cb(GtkWidget *widget, GdkEventFocus *event, StickyNotesApplet *applet)
{
- applet->prelighted = event->in;
-
stickynotes_applet_update_icon(applet);
return FALSE;
@@ -179,10 +177,10 @@ void install_check_click_on_desktop (void)
{
/* Looks like the atoms are there */
Atom actual_type;
- int actual_format;
- long nitems;
- long bytes;
Window *data;
+ int actual_format;
+ gulong nitems;
+ 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,