[gtk+] Fix an oversight



commit 3b97a0b940cfc99c5235af6ba4b65a12e7a02e55
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jun 23 16:46:07 2015 -0400

    Fix an oversight

 gtk/gtkoverlay.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkoverlay.c b/gtk/gtkoverlay.c
index f172436..2abf75d 100644
--- a/gtk/gtkoverlay.c
+++ b/gtk/gtkoverlay.c
@@ -584,7 +584,7 @@ gtk_overlay_reorder_overlay (GtkOverlay *overlay,
     }
   else
     {
-      new_link = g_slist_nth (priv->children, index);
+      new_link = g_slist_nth (priv->children, position);
       index = MIN (position, g_slist_length (priv->children) - 1);
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]