[gtk+/gtk-3-2] GtkNotebook: and another fix
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-2] GtkNotebook: and another fix
- Date: Mon, 12 Mar 2012 02:57:56 +0000 (UTC)
commit 5df0b775be2db8341555aad87002081c45a8c56e
Author: Claudio Saavedra <csaavedra igalia com>
Date: Thu Feb 16 12:32:44 2012 +0200
GtkNotebook: and another fix
https://bugzilla.gnome.org/show_bug.cgi?id=669116
gtk/gtknotebook.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index db3e067..3f56ed5 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -3156,7 +3156,7 @@ gtk_notebook_stop_reorder (GtkNotebook *notebook)
if (priv->has_scrolled || old_page_num != page_num)
{
- for (element = priv->children, i = 0; element; element = element->next)
+ for (element = priv->children, i = 0; element; element = element->next, i++)
{
if (MIN (old_page_num, page_num) <= i && i <= MAX (old_page_num, page_num))
gtk_widget_child_notify (((GtkNotebookPage *) element->data)->child, "position");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]