svnno****@sourc*****
svnno****@sourc*****
Mon Jan 26 09:58:16 JST 2009
Revision: 3570 http://svn.sourceforge.jp/view?root=kazehakase&view=rev&rev=3570 Author: ikezoe Date: 2009-01-26 09:58:16 +0900 (Mon, 26 Jan 2009) Log Message: ----------- cleanup. Modified Paths: -------------- kazehakase/trunk/src/bookmarks/kz-history.c Modified: kazehakase/trunk/src/bookmarks/kz-history.c =================================================================== --- kazehakase/trunk/src/bookmarks/kz-history.c 2009-01-26 00:47:17 UTC (rev 3569) +++ kazehakase/trunk/src/bookmarks/kz-history.c 2009-01-26 00:58:16 UTC (rev 3570) @@ -41,17 +41,11 @@ KzHistory * kz_history_new (const gchar *file) { - GObject *obj; - KzBookmark *bookmark; - - obj = g_object_new(KZ_TYPE_HISTORY, - "type", KZ_BOOKMARK_PURE_FOLDER, - "location", file, - "title", _("History"), - "file-type", "XBEL", - NULL); - bookmark = KZ_BOOKMARK(obj); - - return KZ_HISTORY(bookmark); + return g_object_new(KZ_TYPE_HISTORY, + "type", KZ_BOOKMARK_PURE_FOLDER, + "location", file, + "title", _("History"), + "file-type", "XBEL", + NULL); }