[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (c9b505b52f912541674fdd1aabda43e7c0702f10)
The branch, master has been updated
via c9b505b52f912541674fdd1aabda43e7c0702f10 (commit)
from 3f09eea65bc65eeb69bf36443ce33d14b14fb4dc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
src/hid/gtk/ghid-main-menu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
=================
Commit Messages
=================
commit c9b505b52f912541674fdd1aabda43e7c0702f10
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
hid/gtk: Fix not accessing GtkMenuShell's children harder
I missed a critical part of the fix from
commit 3584101f67f6ca2f0a252c312cb0c6c9c4fa016f
:100644 100644 6c0ca01... 4ae8c9a... M src/hid/gtk/ghid-main-menu.c
=========
Changes
=========
commit c9b505b52f912541674fdd1aabda43e7c0702f10
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
hid/gtk: Fix not accessing GtkMenuShell's children harder
I missed a critical part of the fix from
commit 3584101f67f6ca2f0a252c312cb0c6c9c4fa016f
diff --git a/src/hid/gtk/ghid-main-menu.c b/src/hid/gtk/ghid-main-menu.c
index 6c0ca01..4ae8c9a 100644
--- a/src/hid/gtk/ghid-main-menu.c
+++ b/src/hid/gtk/ghid-main-menu.c
@@ -347,7 +347,7 @@ ghid_main_menu_real_add_resource (GHidMainMenu *menu, GtkMenuShell *shell,
int pos;
children = gtk_container_get_children (GTK_CONTAINER (shell));
- pos = g_list_length (shell->children);
+ pos = g_list_length (children);
g_list_free (children);
if (strcmp (res->v[i].value, "@layerview") == 0)
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs