Yasumichi Akahoshi
yasum****@users*****
2005年 5月 19日 (木) 02:29:42 JST
Index: cxplorer/src/cxplorer-window.c diff -u cxplorer/src/cxplorer-window.c:1.54 cxplorer/src/cxplorer-window.c:1.55 --- cxplorer/src/cxplorer-window.c:1.54 Thu May 19 01:46:50 2005 +++ cxplorer/src/cxplorer-window.c Thu May 19 02:29:42 2005 @@ -352,6 +352,9 @@ }; guint idx; + g_return_if_fail (caption != NULL); + g_return_if_fail (command != NULL); + for (idx=0; idx<G_N_ELEMENTS(path); idx++) { if((menuitem = gtk_ui_manager_get_widget (private->ui_manager, path[idx])) != NULL) @@ -408,6 +411,9 @@ GtkWidget *menu; GtkWidget *menuitem; + g_return_if_fail (key != NULL); + g_return_if_fail (value != NULL); + if((menuitem = gtk_ui_manager_get_widget (private->ui_manager, "/menubar/BookmarkMenu")) != NULL) { menu = gtk_menu_item_get_submenu(GTK_MENU_ITEM(menuitem));