mirror of
https://gitlab.gnome.org/GNOME/glade.git
synced 2025-12-09 00:03:50 -05:00
* plugins/gtk+/glade-column-types.c: Fixed crash when user performs Drag'n'Drop of
< enter column here > and no columns are yet added (fixes bug 633943).
This commit is contained in:
parent
a48a9f6110
commit
52330855cb
@ -43,6 +43,9 @@
|
||||
* src/glade-window.c: Fixed use of uninitialized variables in warning messages,
|
||||
bug 634325, fix by Alex Merry.
|
||||
|
||||
* plugins/gtk+/glade-column-types.c: Fixed crash when user performs Drag'n'Drop of
|
||||
< enter column here > and no columns are yet added (fixes bug 633943).
|
||||
|
||||
2011-01-08 Tristan Van Berkom <tristanvb@openismus.com>
|
||||
|
||||
* gladeui/glade-utils.[ch], gladeui/glade-widget.c, gladeui/glade-builtins.c,
|
||||
|
||||
@ -435,7 +435,12 @@ columns_changed_idle (GladeEditorProperty * eprop)
|
||||
property = glade_editor_property_get_property (eprop);
|
||||
|
||||
glade_property_get (property, &columns);
|
||||
g_assert (columns);
|
||||
|
||||
/* This can happen when the user performs DnD and there
|
||||
* are no columns yet */
|
||||
if (!columns)
|
||||
return FALSE;
|
||||
|
||||
columns = glade_column_list_copy (columns);
|
||||
|
||||
if (gtk_tree_model_get_iter_first
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user