gtksourceview r2185 - in trunk: . tests



Author: thomashpa
Date: Wed Feb 25 23:35:55 2009
New Revision: 2185
URL: http://svn.gnome.org/viewvc/gtksourceview?rev=2185&view=rev

Log:
Replace deprecated gtk symbol. Bug #572085

Modified:
   trunk/ChangeLog
   trunk/tests/test-widget.c

Modified: trunk/tests/test-widget.c
==============================================================================
--- trunk/tests/test-widget.c	(original)
+++ trunk/tests/test-widget.c	Wed Feb 25 23:35:55 2009
@@ -658,15 +658,15 @@
 			       "text", search_data.what ? search_data.what : "",
 			       "activates-default", TRUE,
 			       NULL);
-	gtk_box_pack_start_defaults (GTK_BOX (GTK_DIALOG (dialog)->vbox),
-				     GTK_WIDGET (entry1));
+	gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox),
+				     GTK_WIDGET (entry1), TRUE, TRUE, 0);
 	entry2 = g_object_new (GTK_TYPE_ENTRY,
 			       "visible", replace,
 			       "text", search_data.replacement ? search_data.replacement : "",
 			       "activates-default", TRUE,
 			       NULL);
-	gtk_box_pack_start_defaults (GTK_BOX (GTK_DIALOG (dialog)->vbox),
-				     GTK_WIDGET (entry2));
+	gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox),
+				     GTK_WIDGET (entry2), TRUE, TRUE, 0);
 
 	case_sensitive = g_object_new (GTK_TYPE_CHECK_BUTTON,
 				       "visible", TRUE,



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