gtk+ r19417 - in trunk: . demos/gtk-demo



Author: mitch
Date: Mon Jan 28 13:05:15 2008
New Revision: 19417
URL: http://svn.gnome.org/viewvc/gtk+?rev=19417&view=rev

Log:
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().



Modified:
   trunk/ChangeLog
   trunk/demos/gtk-demo/builder.c

Modified: trunk/demos/gtk-demo/builder.c
==============================================================================
--- trunk/demos/gtk-demo/builder.c	(original)
+++ trunk/demos/gtk-demo/builder.c	Mon Jan 28 13:05:15 2008
@@ -17,7 +17,8 @@
   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);
 }



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