GNOME Bugzilla – Bug 153823
GtkTable resize bug
Last modified: 2004-12-22 21:47:04 UTC
http://lists.ximian.com/archives/public/glade-devel/2004-August/000783.html Mickael Cornet wrote: > I noticed that we can increase number of rows and > columns (4,5,....) the table is redrawn with correct > rows and columns but if we decrease it, the display > stay at the max value, very strange... > >Glade crashes when number of column is 1. Mickael's solution: http://lists.ximian.com/archives/public/glade-devel/2004-August/000794.html
Created attachment 32121 [details] [review] patch to fix Just putting this patch into an easier to use format (picking it out of the mail archives is a bit of a pain). I tried applying it, and it works well for me.
Alright, I have patched that in to my source by hand, and made some modifications to it, notably, there also was a leaked list: for (list = a_list; list; list = list->next) { ... } g_list_free (list); <-- DOH ! Ironicly enough, the list pointer was entitled "list_to_free" ;-D So, My patch will also include a fix for paste bug, in which case the resize function is responsable for filling in all the blanks, not just the ones that are added to the size.
*** Bug 156613 has been marked as a duplicate of this bug. ***
Fixed by a checkin to bug 156416