don't use the deprecated gtk_box_pack_start_defaults().

2008-08-11  Michael Natterer  <mitch@imendio.com>

	* demos/gtk-demo/textscroll.c (create_text_view): don't use the
	deprecated gtk_box_pack_start_defaults().


svn path=/trunk/; revision=21062
This commit is contained in:
Michael Natterer 2008-08-11 11:23:06 +00:00 committed by Michael Natterer
parent f4d322211e
commit 36b3bed631
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-08-11 Michael Natterer <mitch@imendio.com>
* demos/gtk-demo/textscroll.c (create_text_view): don't use the
deprecated gtk_box_pack_start_defaults().
2008-08-11 Sven Neumann <sven@gimp.org>
* gtk/gtkaboutdialog.c

View File

@ -156,7 +156,7 @@ create_text_view (GtkWidget *hbox,
guint timeout;
swindow = gtk_scrolled_window_new (NULL, NULL);
gtk_box_pack_start_defaults (GTK_BOX (hbox), swindow);
gtk_box_pack_start (GTK_BOX (hbox), swindow, TRUE, TRUE, 0);
textview = gtk_text_view_new ();
gtk_container_add (GTK_CONTAINER (swindow), textview);