svnno****@sourc*****
svnno****@sourc*****
Thu Mar 22 15:56:20 JST 2007
Revision: 2958 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=2958 Author: kous Date: 2007-03-22 15:56:20 +0900 (Thu, 22 Mar 2007) Log Message: ----------- * src/bookmarks/kz-bookmark-tab-menu.c (cb_folder_get_children): added NULL check. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/src/bookmarks/kz-bookmark-tab-menu.c Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2007-03-22 06:29:33 UTC (rev 2957) +++ kazehakase/trunk/ChangeLog 2007-03-22 06:56:20 UTC (rev 2958) @@ -1,3 +1,8 @@ +2007-03-22 Kouhei Sutou <kou****@cozmi*****> + + * src/bookmarks/kz-bookmark-tab-menu.c (cb_folder_get_children): + added NULL check. + 2007-03-22 Hiroyuki Ikezoe <poinc****@ikezo*****> * module/embed/kthml/Makefile.am, module/embed/khtml/kz-khtml.[ch]: Modified: kazehakase/trunk/src/bookmarks/kz-bookmark-tab-menu.c =================================================================== --- kazehakase/trunk/src/bookmarks/kz-bookmark-tab-menu.c 2007-03-22 06:29:33 UTC (rev 2957) +++ kazehakase/trunk/src/bookmarks/kz-bookmark-tab-menu.c 2007-03-22 06:56:20 UTC (rev 2958) @@ -415,6 +415,9 @@ KzBookmark *bookmark; bookmark = g_object_get_data(G_OBJECT(child->data), KZ_BOOKMARK_TAB_MENU_BOOKMARK_KEY); + if (!bookmark) + continue; + if (!children) { children = g_list_append(children, bookmark);