diff options
-rw-r--r-- | stickynotes/stickynotes_applet.c | 2 | ||||
-rw-r--r-- | stickynotes/stickynotes_applet_callbacks.c | 8 |
2 files changed, 3 insertions, 7 deletions
diff --git a/stickynotes/stickynotes_applet.c b/stickynotes/stickynotes_applet.c index c9209e13..2b2bb21c 100644 --- a/stickynotes/stickynotes_applet.c +++ b/stickynotes/stickynotes_applet.c @@ -136,8 +136,6 @@ stickynotes_make_prelight_icon (GdkPixbuf *dest, GdkPixbuf *src, int shift) void stickynotes_applet_init (MatePanelApplet *mate_panel_applet) { - int timeout; - stickynotes = g_new(StickyNotes, 1); stickynotes->notes = NULL; 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, |