]> Pileus Git - ~andy/gtk/commitdiff
widget-factory: Don't crash when showing about dialog
authorBenjamin Otte <otte@redhat.com>
Wed, 15 Feb 2012 14:13:57 +0000 (15:13 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 15 Feb 2012 14:14:31 +0000 (15:14 +0100)
demos/widget-factory/widget-factory.c

index b693422f0654908f76c0eb2398423cb70b88e05e..29ce17e156ea361c7b72aa7c7d162e8db37581fc 100644 (file)
@@ -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);