summaryrefslogtreecommitdiff
path: root/gtk/gtkassistant.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlos@imendio.com>2008-04-11 17:08:21 +0000
committerCarlos Garnacho <carlosg@src.gnome.org>2008-04-11 17:08:21 +0000
commitd57764bfc22a63d28edb818ecaf1e45343da086a (patch)
treee6766c6b10055115e37c9e901c57ee1ef350b658 /gtk/gtkassistant.c
parent58f712f7edab6f4fed322f2cd8de3f760760814e (diff)
downloadgtk+-d57764bfc22a63d28edb818ecaf1e45343da086a.tar.gz
Add current page to visited page list instead of next current page.
2008-04-11 Carlos Garnacho <carlos@imendio.com> * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current page to visited page list instead of next current page. (#527466, patch by Marcus Brinkmann) svn path=/trunk/; revision=19996
Diffstat (limited to 'gtk/gtkassistant.c')
-rw-r--r--gtk/gtkassistant.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c
index d59b3e0c69..d9feba328a 100644
--- a/gtk/gtkassistant.c
+++ b/gtk/gtkassistant.c
@@ -1518,7 +1518,8 @@ gtk_assistant_set_current_page (GtkAssistant *assistant,
* initial page is != to 0
*/
if (GTK_WIDGET_MAPPED (assistant))
- priv->visited_pages = g_slist_prepend (priv->visited_pages, page);
+ priv->visited_pages = g_slist_prepend (priv->visited_pages,
+ priv->current_page);
set_current_page (assistant, page);
}