[gnome-applets] stickynotes: Fix compile warnings
- From: Kjartan Maraas <kmaraas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] stickynotes: Fix compile warnings
- Date: Sat, 8 Jan 2011 20:13:08 +0000 (UTC)
commit 18e23a490529131d17c931247481cfa02b1f14b3
Author: Benjamin Otte <otte redhat com>
Date: Fri Aug 20 12:29:58 2010 +0200
stickynotes: Fix compile warnings
https://bugzilla.gnome.org/show_bug.cgi?id=627490
stickynotes/stickynotes_applet.c | 2 --
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 d7c9ddf..9e5eb11 100644
--- a/stickynotes/stickynotes_applet.c
+++ b/stickynotes/stickynotes_applet.c
@@ -137,8 +137,6 @@ stickynotes_make_prelight_icon (GdkPixbuf *dest, GdkPixbuf *src, int shift)
void
stickynotes_applet_init (PanelApplet *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 83975d5..a25ff24 100644
--- a/stickynotes/stickynotes_applet_callbacks.c
+++ b/stickynotes/stickynotes_applet_callbacks.c
@@ -133,8 +133,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;
@@ -175,9 +173,9 @@ void install_check_click_on_desktop (void)
{
/* Looks like the atoms are there */
Atom actual_type;
- int actual_format;
- long nitems;
- long bytes;
+ int actual_format;
+ gulong nitems;
+ gulong bytes;
Window *data;
/* We only use this extra property if the actual user-time property's missing */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]