[gnome-control-center/wip/jsparber/background: 41/41] background: fix build warning: set slideshow_emblem to NULL
- From: Julian Sparber <jsparber src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/jsparber/background: 41/41] background: fix build warning: set slideshow_emblem to NULL
- Date: Thu, 8 Feb 2018 16:14:56 +0000 (UTC)
commit 3c0b9bcb594e5876a50efc82595746094883f5ac
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 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/background/cc-background-grid-item.c b/panels/background/cc-background-grid-item.c
index e219ed368..e6c10000f 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]