summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-01-28 13:05:15 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-01-28 13:05:15 +0000
commit26f205e20ec540880a57568281415904125f1aa5 (patch)
tree744773c54baf06b88bb80ea8fcb12010d5ea1d07 /demos
parentf6f6a2a4b01fa942f051a93d539825fd4a38d59b (diff)
downloadgtk+-26f205e20ec540880a57568281415904125f1aa5.tar.gz
use gtk_about_dialog_set_program_name() instead of the deprecated
2008-01-28 Michael Natterer <mitch@imendio.com> * demos/gtk-demo/builder.c (about_activate): use gtk_about_dialog_set_program_name() instead of the deprecated set_name(). svn path=/trunk/; revision=19417
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/builder.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/gtk-demo/builder.c b/demos/gtk-demo/builder.c
index 1b0b8471e5..8ffa6c4603 100644
--- a/demos/gtk-demo/builder.c
+++ b/demos/gtk-demo/builder.c
@@ -17,7 +17,8 @@ about_activate (GtkAction *action)
GtkWidget *about_dlg;
about_dlg = gtk_about_dialog_new ();
- gtk_about_dialog_set_name (GTK_ABOUT_DIALOG (about_dlg), "GtkBuilder demo");
+ gtk_about_dialog_set_program_name (GTK_ABOUT_DIALOG (about_dlg),
+ "GtkBuilder demo");
gtk_dialog_run (GTK_DIALOG (about_dlg));
gtk_widget_destroy (about_dlg);
}