svnno****@sourc*****
svnno****@sourc*****
Sat Jan 24 16:58:31 JST 2009
Revision: 3551 http://svn.sourceforge.jp/view?root=kazehakase&view=rev&rev=3551 Author: ikezoe Date: 2009-01-24 16:58:30 +0900 (Sat, 24 Jan 2009) Log Message: ----------- cleanup. Modified Paths: -------------- kazehakase/trunk/src/bookmarks/kz-bookmark.c kazehakase/trunk/src/bookmarks/kz-session.c Modified: kazehakase/trunk/src/bookmarks/kz-bookmark.c =================================================================== --- kazehakase/trunk/src/bookmarks/kz-bookmark.c 2009-01-24 07:31:09 UTC (rev 3550) +++ kazehakase/trunk/src/bookmarks/kz-bookmark.c 2009-01-24 07:58:30 UTC (rev 3551) @@ -1060,7 +1060,7 @@ void kz_bookmark_set_javascript (KzBookmark *bookmark, - gboolean javascript) + gboolean javascript) { if (!kz_bookmark_is_folder(bookmark)) return; Modified: kazehakase/trunk/src/bookmarks/kz-session.c =================================================================== --- kazehakase/trunk/src/bookmarks/kz-session.c 2009-01-24 07:31:09 UTC (rev 3550) +++ kazehakase/trunk/src/bookmarks/kz-session.c 2009-01-24 07:58:30 UTC (rev 3551) @@ -140,15 +140,13 @@ const gchar *old_value, KzSession *session) { - KzSessionPrivate *priv = KZ_SESSION_GET_PRIVATE(session); - if (key && strcmp(key, "save")) { - gboolean auto_save; + KzSessionPrivate *priv = KZ_SESSION_GET_PRIVATE(session); + kz_profile_get_value(profile, "Session", "save", - &auto_save, sizeof(gboolean), + &priv->auto_save, sizeof(gboolean), KZ_PROFILE_VALUE_TYPE_BOOL); - priv->auto_save = auto_save; } }