glade3 r1719 - in trunk: . plugins/gtk+



Author: tvb
Date: Mon Mar 10 02:19:30 2008
New Revision: 1719
URL: http://svn.gnome.org/viewvc/glade3?rev=1719&view=rev

Log:

	* plugins/gtk+/glade-gtk.c: 
	  - Add/Remove parent doesnt dup widgets anymore (bug 517388)



Modified:
   trunk/ChangeLog
   trunk/plugins/gtk+/glade-gtk.c

Modified: trunk/plugins/gtk+/glade-gtk.c
==============================================================================
--- trunk/plugins/gtk+/glade-gtk.c	(original)
+++ trunk/plugins/gtk+/glade-gtk.c	Mon Mar 10 02:19:30 2008
@@ -367,7 +367,7 @@
 
 		/* Remove "this" widget */
 		this_widget.data = gwidget;
-		glade_command_delete (&this_widget);
+		glade_command_cut (&this_widget);
 		
 		/* Delete the parent */
 		that_widget.data = gparent;
@@ -421,7 +421,7 @@
 			
 			/* Remove "this" widget */
 			this_widget.data = gwidget;
-			glade_command_delete (&this_widget);
+			glade_command_cut (&this_widget);
 			
 			/* Create new widget and put it where the placeholder was */
 			that_widget.data =



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