Ryo SHIMIZU
furyo****@users*****
Sun Jan 14 18:06:34 JST 2007
Index: kazehakase/src/kz-notebook.c diff -u kazehakase/src/kz-notebook.c:1.17 kazehakase/src/kz-notebook.c:1.18 --- kazehakase/src/kz-notebook.c:1.17 Sun Jan 7 18:57:55 2007 +++ kazehakase/src/kz-notebook.c Sun Jan 14 18:06:34 2007 @@ -413,12 +413,9 @@ /* add to this notebook's history */ priv->open_hist = g_list_prepend(priv->open_hist, embed); - if (pos >= 0) - { - sibembed = gtk_notebook_get_nth_page(GTK_NOTEBOOK(notebook), pos); - sibtab = KZ_TAB_LABEL(gtk_notebook_get_tab_label(GTK_NOTEBOOK(notebook), - sibembed)); - } + sibembed = gtk_notebook_get_nth_page(GTK_NOTEBOOK(notebook), pos); + sibtab = KZ_TAB_LABEL(gtk_notebook_get_tab_label(GTK_NOTEBOOK(notebook), + sibembed)); return sibtab; }