[kazehakase-svn] [3663] cleanup.

Back to archive index

svnno****@sourc***** svnno****@sourc*****
Fri Feb 13 10:11:36 JST 2009


Revision: 3663
          http://svn.sourceforge.jp/view?root=kazehakase&view=rev&rev=3663
Author:   ikezoe
Date:     2009-02-13 10:11:36 +0900 (Fri, 13 Feb 2009)

Log Message:
-----------
cleanup.

Modified Paths:
--------------
    kazehakase/trunk/src/kz-window.c

Modified: kazehakase/trunk/src/kz-window.c
===================================================================
--- kazehakase/trunk/src/kz-window.c	2009-02-13 01:09:11 UTC (rev 3662)
+++ kazehakase/trunk/src/kz-window.c	2009-02-13 01:11:36 UTC (rev 3663)
@@ -1983,7 +1983,7 @@
 	/* set current_position in history */
 	/* FIXME: KzSession should block automatically */
 	if (!kz_session_is_frozen(KZ_SESSION(KZ_GET_CURRENT_SESSION)))
-		kz_bookmark_folder_set_current_position(KZ_BOOKMARK_FOLDER(kz->tabs), page_num);
+		kz_bookmark_folder_set_current_position(kz->tabs, page_num);
 }
 
 static void
@@ -2537,11 +2537,11 @@
 kz_window_append_closed_tab (KzWindow *kz, KzBookmarkFolder *bookmark)
 {
 	KzBookmark *last;
-	kz_bookmark_folder_prepend(KZ_BOOKMARK_FOLDER(kz->closed_tabs), KZ_BOOKMARK(bookmark));
+	kz_bookmark_folder_prepend(kz->closed_tabs, KZ_BOOKMARK(bookmark));
 
 	/* removed the oldest one */
-	last = kz_bookmark_folder_get_nth_child(KZ_BOOKMARK_FOLDER(kz->closed_tabs), MAX_CLOSED_TABS);
+	last = kz_bookmark_folder_get_nth_child(kz->closed_tabs, MAX_CLOSED_TABS);
 	if (last)
-		kz_bookmark_folder_remove(KZ_BOOKMARK_FOLDER(kz->closed_tabs), last);
+		kz_bookmark_folder_remove(kz->closed_tabs, last);
 }
 




More information about the Kazehakase-cvs mailing list
Back to archive index