summaryrefslogtreecommitdiff
path: root/stickynotes/stickynotes_applet_callbacks.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-25 21:47:29 +0100
committerinfirit <[email protected]>2014-11-26 18:13:43 +0100
commitb66cea481c1ab534f741362f5127bdacca363fd0 (patch)
tree67e1564d1495506349203396c102fe00893fef47 /stickynotes/stickynotes_applet_callbacks.c
parent48cd1a27c0fa01ecc35cc745827da315c266ec94 (diff)
downloadmate-applets-b66cea481c1ab534f741362f5127bdacca363fd0.tar.bz2
mate-applets-b66cea481c1ab534f741362f5127bdacca363fd0.tar.xz
stickynotes: Fix compile warnings
Based on gnome-applets commit: 18e23a490529131d17c931247481cfa02b1f14b3 From: Benjamin Otte <[email protected]>
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,