[gnome-control-center/wip/jsparber/background: 45/45] background: fix build warning: set slideshow_emblem to NULL



commit 692ecd563005f41e3c3f3960dcfdf06d39239732
Author: Julian Sparber <julian sparber net>
Date:   Tue Feb 6 23:17:53 2018 +0100

    background: fix build warning: set slideshow_emblem to NULL
    
    https://bugzilla.gnome.org/show_bug.cgi?id=788515

 panels/background/cc-background-grid-item.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/background/cc-background-grid-item.c b/panels/background/cc-background-grid-item.c
index e219ed3..e6c1000 100644
--- a/panels/background/cc-background-grid-item.c
+++ b/panels/background/cc-background-grid-item.c
@@ -49,7 +49,7 @@ static GdkPixbuf *
 load_slideshow_emblem (CcBackgroundGridItem *item,
                        gint                  scale_factor)
 {
-  GdkPixbuf *slideshow_emblem;
+  GdkPixbuf *slideshow_emblem = NULL;
   GIcon *icon = NULL;
   GtkIconInfo *icon_info = NULL;
   GError *error = NULL;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]