svnno****@sourc*****
svnno****@sourc*****
Sun Feb 15 14:12:22 JST 2009
Revision: 3700 http://svn.sourceforge.jp/view?root=kazehakase&view=rev&rev=3700 Author: ikezoe Date: 2009-02-15 14:12:22 +0900 (Sun, 15 Feb 2009) Log Message: ----------- * src/bookmarks/kz-bookmark-file.c (kz_bookmark_file_set_state: Set given state value. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/src/bookmarks/kz-bookmark-file.c Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2009-02-15 03:52:37 UTC (rev 3699) +++ kazehakase/trunk/ChangeLog 2009-02-15 05:12:22 UTC (rev 3700) @@ -11,6 +11,8 @@ * src/bookmarks/kz-bookmark-objects.h: Added. * src/bookmarks/kz-bookmark.[ch]: kz_bookmark_get_parent returns KzBookmarkFolder and kz_bookmark_set_parent needs a KzBookmarkFolder. + * src/bookmarks/kz-bookmark-file.c (kz_bookmark_file_set_state: Set + given state value. 2009-02-14 Hiroyuki Ikezoe <poinc****@ikezo*****> Modified: kazehakase/trunk/src/bookmarks/kz-bookmark-file.c =================================================================== --- kazehakase/trunk/src/bookmarks/kz-bookmark-file.c 2009-02-15 03:52:37 UTC (rev 3699) +++ kazehakase/trunk/src/bookmarks/kz-bookmark-file.c 2009-02-15 05:12:22 UTC (rev 3700) @@ -967,12 +967,8 @@ { g_return_if_fail(KZ_IS_BOOKMARK_FILE(bookmark_file)); - if (state == KZ_BOOKMARK_FILE_STATE_LOADING) - g_object_set_qdata(G_OBJECT(bookmark_file), state_quark, - GINT_TO_POINTER(state)); - else - g_object_set_qdata(G_OBJECT(bookmark_file), state_quark, - GINT_TO_POINTER(KZ_BOOKMARK_FILE_STATE_NORMAL)); + g_object_set_qdata(G_OBJECT(bookmark_file), state_quark, + GINT_TO_POINTER(state)); }