From cdc2f07a1efa7a23878bf5cf6d8dca4170ffc561 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Tue, 5 Nov 2013 15:29:54 -0500 Subject: demo: use the installed named icon --- demos/gtk-demo/application.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'demos/gtk-demo/application.c') diff --git a/demos/gtk-demo/application.c b/demos/gtk-demo/application.c index 048535aaa5..d250586286 100644 --- a/demos/gtk-demo/application.c +++ b/demos/gtk-demo/application.c @@ -95,7 +95,6 @@ activate_about (GSimpleAction *action, gpointer user_data) { GtkWidget *window = user_data; - GdkPixbuf *pixbuf; const gchar *authors[] = { "Peter Mattis", @@ -113,8 +112,6 @@ activate_about (GSimpleAction *action, NULL }; - pixbuf = gdk_pixbuf_new_from_resource ("/application/gtk-logo-48.png", NULL); - gtk_show_about_dialog (GTK_WINDOW (window), "program-name", "GTK+ Code Demos", "version", g_strdup_printf ("%s,\nRunning against GTK+ %d.%d.%d", @@ -128,10 +125,9 @@ activate_about (GSimpleAction *action, "comments", "Program to demonstrate GTK+ functions.", "authors", authors, "documenters", documentors, - "logo", pixbuf, + "logo-icon-name", "gtk3-demo", "title", "About GTK+ Code Demos", NULL); - g_object_unref (pixbuf); } static void -- cgit v1.2.1