svnno****@sourc*****
svnno****@sourc*****
Sat Feb 14 18:10:10 JST 2009
Revision: 3686 http://svn.sourceforge.jp/view?root=kazehakase&view=rev&rev=3686 Author: ikezoe Date: 2009-02-14 18:10:10 +0900 (Sat, 14 Feb 2009) Log Message: ----------- * src/kz-notebook.[ch]: Remove kz_notebook_get_nth_page. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/src/kz-notebook.c kazehakase/trunk/src/kz-notebook.h Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2009-02-14 07:33:02 UTC (rev 3685) +++ kazehakase/trunk/ChangeLog 2009-02-14 09:10:10 UTC (rev 3686) @@ -21,6 +21,7 @@ * src/kz-embed.[ch]: Remove ensure_title interface. * src/kz-window.[ch], src/kz-notebook.[ch]: XX_close_tab needs KzEmbed instead of GtkWidget. + * src/kz-notebook.[ch]: Remove kz_notebook_get_nth_page. 2009-02-13 Hiroyuki Ikezoe <poinc****@ikezo*****> Modified: kazehakase/trunk/src/kz-notebook.c =================================================================== --- kazehakase/trunk/src/kz-notebook.c 2009-02-14 07:33:02 UTC (rev 3685) +++ kazehakase/trunk/src/kz-notebook.c 2009-02-14 09:10:10 UTC (rev 3686) @@ -678,13 +678,10 @@ src_priv = KZ_NOTEBOOK_GET_PRIVATE(src_notebook); /* remove view_hist */ - src_priv->view_hist = g_list_remove(src_priv->view_hist, - widget); + src_priv->view_hist = g_list_remove(src_priv->view_hist, widget); /* move open_hist */ - src_priv->open_hist = g_list_remove(src_priv->open_hist, - widget); - dest_priv->open_hist = g_list_prepend(dest_priv->open_hist, - widget); + src_priv->open_hist = g_list_remove(src_priv->open_hist, widget); + dest_priv->open_hist = g_list_prepend(dest_priv->open_hist, widget); /* move tab tree */ node = g_node_find(src_priv->tab_tree, G_IN_ORDER, G_TRAVERSE_ALL, widget); @@ -820,14 +817,6 @@ return KZ_TAB_LABEL(gtk_notebook_get_tab_label(GTK_NOTEBOOK(notebook), widget)); } -GtkWidget * -kz_notebook_get_nth_page (KzNotebook *notebook, gint page_num) -{ - g_return_val_if_fail(KZ_IS_NOTEBOOK(notebook), NULL); - - return gtk_notebook_get_nth_page(GTK_NOTEBOOK(notebook), page_num); -} - gint kz_notebook_page_num (KzNotebook *notebook, GtkWidget *child) { Modified: kazehakase/trunk/src/kz-notebook.h =================================================================== --- kazehakase/trunk/src/kz-notebook.h 2009-02-14 07:33:02 UTC (rev 3685) +++ kazehakase/trunk/src/kz-notebook.h 2009-02-14 09:10:10 UTC (rev 3686) @@ -68,8 +68,6 @@ KzEmbed *embed); KzTabLabel *kz_notebook_get_nth_tab_label (KzNotebook *notebook, gint page_num); -GtkWidget *kz_notebook_get_nth_page (KzNotebook *notebook, - gint page_num); KzEmbed *kz_notebook_get_nth_embed (KzNotebook *notebook, gint page_num); gint kz_notebook_page_num (KzNotebook *notebook,