1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-05 04:41:37 -07:00

(xg_update_menubar): Call g_list_next after moving

menu bar item.
This commit is contained in:
Jan Djärv 2007-04-03 07:34:37 +00:00
parent 93253b0eb8
commit 0a194c9264
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2007-04-03 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* gtkutil.c (xg_update_menubar): Call g_list_next after moving
menu bar item.
2007-04-02 Juanma Barranquero <lekktu@gmail.com>
* print.c (Fprin1_to_string): Use macro SPECPDL_INDEX.

View file

@ -2506,6 +2506,7 @@ xg_update_menubar (menubar, f, list, iter, pos, val,
g_list_free (*list);
*list = iter = gtk_container_get_children (GTK_CONTAINER (menubar));
while (nr-- > 0) iter = g_list_next (iter);
if (iter) iter = g_list_next (iter);
val = val->next;
++pos;
}