[gtk+] Silence a compiler warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Silence a compiler warning
- Date: Tue, 24 Jan 2012 05:59:22 +0000 (UTC)
commit 4c2e53a46864b397fcb1447a1dc5164d3cf4d353
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jan 24 00:41:26 2012 -0500
Silence a compiler warning
gtk/gtkimage.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index 8551149..34057c5 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -788,7 +788,7 @@ void
gtk_image_set_from_resource (GtkImage *image,
const gchar *resource_path)
{
- GdkPixbuf *pixbuf;
+ GdkPixbuf *pixbuf = NULL;
GInputStream *stream;
g_return_if_fail (GTK_IS_IMAGE (image));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]