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:
parent
93253b0eb8
commit
0a194c9264
2 changed files with 6 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue