[gtk+] widget-factory: Don't crash when showing about dialog



commit bf89bc624b34cf4b4291dd05f0adff9d34945f01
Author: Benjamin Otte <otte redhat com>
Date:   Wed Feb 15 15:13:57 2012 +0100

    widget-factory: Don't crash when showing about dialog

 demos/widget-factory/widget-factory.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.c b/demos/widget-factory/widget-factory.c
index b693422..29ce17e 100644
--- a/demos/widget-factory/widget-factory.c
+++ b/demos/widget-factory/widget-factory.c
@@ -42,7 +42,8 @@ show_about (GtkMenuItem *item, GtkWidget *window)
   GdkPixbuf *pixbuf;
   const gchar *authors[] = {
     "Andrea Cimitan",
-    "Cosimo Cecchi"
+    "Cosimo Cecchi",
+    NULL
   };
 
   pixbuf = gdk_pixbuf_new_from_resource ("/logos/gtk-logo-256.png", NULL);



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