forked from AuroraMiddleware/gtk
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).
This commit is contained in:
parent
eb38c54837
commit
e507eb3429
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user