diff options
-rw-r--r-- | stickynotes/ChangeLog | 5 | ||||
-rw-r--r-- | stickynotes/stickynotes.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/stickynotes/ChangeLog b/stickynotes/ChangeLog index d52cc18f7..05dfcb634 100644 --- a/stickynotes/ChangeLog +++ b/stickynotes/ChangeLog @@ -1,3 +1,8 @@ +2006-01-31 Davyd Madeley <davyd@madeley.id.au> + + * stickynotes.c: gcc 2.95 fixes - closes #328256 + Patch from Jens Granseuer <jensgr@gmx.net>. + 2006-01-30 Davyd Madeley <davyd@madeley.id.au> * stickynotes_applet.c: diff --git a/stickynotes/stickynotes.c b/stickynotes/stickynotes.c index c5d3d799b..a72cf16fb 100644 --- a/stickynotes/stickynotes.c +++ b/stickynotes/stickynotes.c @@ -819,6 +819,8 @@ stickynotes_load (GdkScreen *screen) while (node) { if (!xmlStrcmp(node->name, (const xmlChar *) "note")) { + StickyNote *note; + /* Retrieve and set the window size of the note */ { gchar *w_str = (gchar *)xmlGetProp (node, XML_CHAR ("w")); @@ -859,7 +861,7 @@ stickynotes_load (GdkScreen *screen) } /* Create a new note */ - StickyNote *note = stickynote_new_aux (screen, x, y, w, h); + note = stickynote_new_aux (screen, x, y, w, h); stickynotes->notes = g_list_append (stickynotes->notes, note); new_notes = g_list_append (new_notes, note); |