svnno****@sourc*****
svnno****@sourc*****
Wed Mar 28 11:28:01 JST 2007
Revision: 3078 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3078 Author: ikezoe Date: 2007-03-28 11:28:01 +0900 (Wed, 28 Mar 2007) Log Message: ----------- Use kz_notebook_get_n_pages. Modified Paths: -------------- kazehakase/trunk/src/kz-window.c Modified: kazehakase/trunk/src/kz-window.c =================================================================== --- kazehakase/trunk/src/kz-window.c 2007-03-28 02:25:37 UTC (rev 3077) +++ kazehakase/trunk/src/kz-window.c 2007-03-28 02:28:01 UTC (rev 3078) @@ -1647,7 +1647,7 @@ g_return_if_fail(KZ_IS_WINDOW(kz)); - if (gtk_notebook_get_n_pages(GTK_NOTEBOOK(kz->notebook)) < 1 || + if (kz_notebook_get_n_pages(KZ_NOTEBOOK(kz->notebook)) < 1 || !KZ_IS_EMBED(widget)) { kz_window_open_new_tab(kz, url);