Merge branch '3172_listbox_append_item_fix'

* 3172_listbox_append_item_fix:
  Ticket #3172: WListbox: fix of add item to the empty list.
This commit is contained in:
Andrew Borodin 2014-02-18 09:45:21 +04:00
commit b3787781a7

View File

@ -353,7 +353,10 @@ static inline void
listbox_append_item (WListbox * l, WLEntry * e, listbox_append_t pos)
{
if (l->list == NULL)
{
l->list = g_queue_new ();
pos = LISTBOX_APPEND_AT_END;
}
switch (pos)
{