svnno****@sourc*****
svnno****@sourc*****
Sat Jan 24 14:43:26 JST 2009
Revision: 3548 http://svn.sourceforge.jp/view?root=kazehakase&view=rev&rev=3548 Author: ikezoe Date: 2009-01-24 14:43:25 +0900 (Sat, 24 Jan 2009) Log Message: ----------- * src/bookmarks/kz-bookmark.c: Use g_object_set_qdata instead of g_object_set. Modified Paths: -------------- kazehakase/trunk/src/bookmarks/kz-bookmark.c Modified: kazehakase/trunk/src/bookmarks/kz-bookmark.c =================================================================== --- kazehakase/trunk/src/bookmarks/kz-bookmark.c 2009-01-24 05:38:48 UTC (rev 3547) +++ kazehakase/trunk/src/bookmarks/kz-bookmark.c 2009-01-24 05:43:25 UTC (rev 3548) @@ -1045,7 +1045,8 @@ { if (!kz_bookmark_is_folder(bookmark)) return; - g_object_set(bookmark, "auto-refresh", auto_refresh, NULL); + g_object_set_qdata(G_OBJECT(bookmark), auto_refresh_quark, + GINT_TO_POINTER(auto_refresh)); } gboolean @@ -1063,7 +1064,8 @@ { if (!kz_bookmark_is_folder(bookmark)) return; - g_object_set(bookmark, "javascript", javascript, NULL); + g_object_set_qdata(G_OBJECT(bookmark), javascript_quark, + GINT_TO_POINTER(javascript)); } static gint