summaryrefslogtreecommitdiff
path: root/src/notification.c
diff options
context:
space:
mode:
authorLucas Rocha <lucasr@gnome.org>2007-05-14 21:26:08 +0000
committerLucas Almeida Rocha <lucasr@src.gnome.org>2007-05-14 21:26:08 +0000
commitadee9db56646cc297fd226db983d40f3ba0d4793 (patch)
tree467c9cea6ada89b472267c3d65a47be919c75867 /src/notification.c
parent5c1ff4ebd1cb580b54320c6f0ed8f8f4215810ab (diff)
general cleanups for build warnings (Fixes bug #416196). Patch from
2007-05-14 Lucas Rocha <lucasr@gnome.org> * src/progress.c (zenity_progress_handle_stdin), src/option.c (zenity_create_context), src/about.c, src/notification.c (zenity_notification_handle_stdin): general cleanups for build warnings (Fixes bug #416196). Patch from Kjartan Maraas <kmaraas@gnome.org>. svn path=/trunk/; revision=1208
Diffstat (limited to 'src/notification.c')
-rw-r--r--src/notification.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notification.c b/src/notification.c
index 745d8a3..35747be 100644
--- a/src/notification.c
+++ b/src/notification.c
@@ -162,11 +162,11 @@ zenity_notification_handle_stdin (GIOChannel *channel,
if (!g_utf8_validate (value, -1, NULL)) {
g_warning ("Invalid UTF-8 in input!");
} else if (notify_is_initted ()) {
- GError *error = NULL;
NotifyNotification *notif;
const gchar *icon = NULL;
gchar *freeme = NULL;
gchar *message;
+ error = NULL;
message = g_strcompress (value);