summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-05-25 20:01:47 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-05-25 20:01:47 +0000
commit3d0adf9d4c8e0f15d5121205662c2ebb58d28f18 (patch)
tree95b7f6146a388a0a0724c6f9f99ba4425452255f /demos
parentd35931988e6cffd0f590d1d50801c12dce4586d7 (diff)
downloadgtk+-3d0adf9d4c8e0f15d5121205662c2ebb58d28f18.tar.gz
Set the window icon by name.
2005-05-25 Matthias Clasen <mclasen@redhat.com> * demos/gtk-demo/appwindow.c (do_appwindow): Set the window icon by name.
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/appwindow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/gtk-demo/appwindow.c b/demos/gtk-demo/appwindow.c
index 5dfab2f11a..5cf00815d3 100644
--- a/demos/gtk-demo/appwindow.c
+++ b/demos/gtk-demo/appwindow.c
@@ -406,6 +406,7 @@ do_appwindow (GtkWidget *do_widget)
gtk_window_set_screen (GTK_WINDOW (window),
gtk_widget_get_screen (do_widget));
gtk_window_set_title (GTK_WINDOW (window), "Application Window");
+ gtk_window_set_icon_name (GTK_WINDOW (window), "gtk-open");
/* NULL window variable when window is closed */
g_signal_connect (window, "destroy",