when prepending...prepend
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 26 Jun 2012 12:58:25 +0000 (12:58 +0000)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 26 Jun 2012 12:58:25 +0000 (12:58 +0000)
SVN revision: 72882

src/bin/e_widget_ilist.c

index 71db49a..da0ce83 100644 (file)
@@ -106,7 +106,7 @@ _queue_timer(void *data)
                }
              else if (qi->use_relative == CMD_PREPEND)
                {
-                  wd->callbacks = eina_list_append(wd->callbacks, wcb);
+                  wd->callbacks = eina_list_prepend(wd->callbacks, wcb);
                   e_ilist_prepend(wd->o_ilist, qi->icon, qi->end, qi->label, qi->header,
                                   _e_wid_cb_item_sel, _e_wid_cb_item_hilight, wd, wcb);
                }