[Xfce4-commits] [apps/xfce4-notifyd] 01/01: Fix uninitialized pixbufs

noreply at xfce.org noreply at xfce.org
Tue Aug 30 13:47:46 CEST 2016


This is an automated email from the git hooks/post-receive script.

ochosi pushed a commit to branch master
in repository apps/xfce4-notifyd.

commit 0760b5cf3137d08893acaf8cb47f8ccb2f747a31
Author: ToZ <tony.paulic at gmail.com>
Date:   Tue Aug 30 13:30:20 2016 +0200

    Fix uninitialized pixbufs
---
 xfce4-notifyd/xfce-notify-daemon.c | 2 +-
 xfce4-notifyd/xfce-notify-window.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/xfce4-notifyd/xfce-notify-daemon.c b/xfce4-notifyd/xfce-notify-daemon.c
index d7f21d0..5da9001 100644
--- a/xfce4-notifyd/xfce-notify-daemon.c
+++ b/xfce4-notifyd/xfce-notify-daemon.c
@@ -1040,7 +1040,7 @@ static gboolean notify_notify (XfceNotifyGBus *skeleton,
                                XfceNotifyDaemon *xndaemon)
 {
     XfceNotifyWindow *window;
-    GdkPixbuf *pix;
+    GdkPixbuf *pix = NULL;
     GVariant *image_data = NULL;
     const gchar *desktop_id = NULL;
     gint value_hint = 0;
diff --git a/xfce4-notifyd/xfce-notify-window.c b/xfce4-notifyd/xfce-notify-window.c
index 0c797ff..e7183b7 100644
--- a/xfce4-notifyd/xfce-notify-window.c
+++ b/xfce4-notifyd/xfce-notify-window.c
@@ -782,7 +782,7 @@ xfce_notify_window_set_icon_name(XfceNotifyWindow *window,
 
     if (icon_name && *icon_name) {
         gint w, h;
-        GdkPixbuf *pix;
+        GdkPixbuf *pix = NULL;
 
         gtk_icon_size_lookup(GTK_ICON_SIZE_DIALOG, &w, &h);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list