Commit e507eb34 authored by Søren Sandmann's avatar Søren Sandmann Committed by Søren Sandmann Pedersen
Browse files

Fix logical errors in gtk_list_store_move_before/after(). (#150983, patch

Wed Aug 25 00:09:07 2004  Søren Sandmann  <sandmann@redhat.com>

	* gtk/gtkliststore.c (gtk_list_store_move_after): Fix logical
	errors in gtk_list_store_move_before/after(). (#150983, patch by
	Robert Ögren).
parent eb38c548
......@@ -5,8 +5,8 @@ Wed Aug 25 00:22:48 2004 Søren Sandmann <sandmann@redhat.com>
Wed Aug 25 00:09:07 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_move_after): Fix logical
errors in gtk_list_store_move_before/after(). (#150159, Robert
Ögren).
errors in gtk_list_store_move_before/after(). (#150983, patch by
Robert Ögren).
Tue Aug 24 21:46:42 2004 Søren Sandmann <sandmann@redhat.com>
......
......@@ -5,8 +5,8 @@ Wed Aug 25 00:22:48 2004 Søren Sandmann <sandmann@redhat.com>
Wed Aug 25 00:09:07 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_move_after): Fix logical
errors in gtk_list_store_move_before/after(). (#150159, Robert
Ögren).
errors in gtk_list_store_move_before/after(). (#150983, patch by
Robert Ögren).
Tue Aug 24 21:46:42 2004 Søren Sandmann <sandmann@redhat.com>
......
......@@ -5,8 +5,8 @@ Wed Aug 25 00:22:48 2004 Søren Sandmann <sandmann@redhat.com>
Wed Aug 25 00:09:07 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_move_after): Fix logical
errors in gtk_list_store_move_before/after(). (#150159, Robert
Ögren).
errors in gtk_list_store_move_before/after(). (#150983, patch by
Robert Ögren).
Tue Aug 24 21:46:42 2004 Søren Sandmann <sandmann@redhat.com>
......
......@@ -5,8 +5,8 @@ Wed Aug 25 00:22:48 2004 Søren Sandmann <sandmann@redhat.com>
Wed Aug 25 00:09:07 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_move_after): Fix logical
errors in gtk_list_store_move_before/after(). (#150159, Robert
Ögren).
errors in gtk_list_store_move_before/after(). (#150983, patch by
Robert Ögren).
Tue Aug 24 21:46:42 2004 Søren Sandmann <sandmann@redhat.com>
......
......@@ -1550,7 +1550,7 @@ gtk_list_store_move_before (GtkListStore *store,
g_return_if_fail (VALID_ITER (position, store));
if (position)
pos = _gtk_sequence_ptr_get_position (iter->user_data);
pos = _gtk_sequence_ptr_get_position (position->user_data);
else
pos = -1;
......@@ -1583,7 +1583,7 @@ gtk_list_store_move_after (GtkListStore *store,
g_return_if_fail (VALID_ITER (position, store));
if (position)
pos = _gtk_sequence_ptr_get_position (iter->user_data);
pos = _gtk_sequence_ptr_get_position (position->user_data) + 1;
else
pos = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment