[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: branch: master updated (1.1.0-20070705-4-g1361831)
The branch, master has been updated
via 1361831fc9e44bcc719f73d68f4d5b119963bb57 (commit)
from ee1821ad48f0553d9287be6be9ca7fd3e5c965e9 (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
=========
gschem/src/x_menus.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit 1361831fc9e44bcc719f73d68f4d5b119963bb57
Author: Ivan Stankovic <ivan.stankovic@xxxxxx>
Date: Thu Jul 5 09:18:48 2007 -0400
Possible fix for bug #1748079: CRASH: gschem segfault on file save or open
:100644 100644 4f20cfd... f7c00b6... M gschem/src/x_menus.c
=========
Changes
=========
commit 1361831fc9e44bcc719f73d68f4d5b119963bb57
Author: Ivan Stankovic <ivan.stankovic@xxxxxx>
Date: Thu Jul 5 09:18:48 2007 -0400
Possible fix for bug #1748079: CRASH: gschem segfault on file save or open
diff --git a/gschem/src/x_menus.c b/gschem/src/x_menus.c
index 4f20cfd..f7c00b6 100644
--- a/gschem/src/x_menus.c
+++ b/gschem/src/x_menus.c
@@ -441,6 +441,8 @@ static void update_recent_files_menus()
recent_menu_item = (GtkWidget *) gtk_object_get_data(GTK_OBJECT(
w->menubar), "File/Recent files");
+ if(recent_menu_item == NULL)
+ return;
submenu = gtk_menu_item_get_submenu(GTK_MENU_ITEM(recent_menu_item));
gtk_widget_destroy(submenu);
@@ -504,6 +506,8 @@ void x_menu_attach_recent_files_submenu(TOPLEVEL *w_current)
recent_menu_item = (GtkWidget *) gtk_object_get_data(GTK_OBJECT(
w_current->menubar), "File/Recent files");
+ if(recent_menu_item == NULL)
+ return;
/* disconnect all unblocked signals */
while(1) {
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs