Remove debug spew

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

	* gtk/gtksequence.c: Remove debug spew
This commit is contained in:
Søren Sandmann 2004-08-24 22:23:29 +00:00 committed by Søren Sandmann Pedersen
parent 9cc29faa8e
commit eb38c54837
5 changed files with 44 additions and 10 deletions

View File

@ -1,3 +1,13 @@
Wed Aug 25 00:22:48 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtksequence.c: Remove debug spew
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).
Tue Aug 24 21:46:42 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtksequence.c (_gtk_sequence_move): Just return if the

View File

@ -1,3 +1,13 @@
Wed Aug 25 00:22:48 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtksequence.c: Remove debug spew
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).
Tue Aug 24 21:46:42 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtksequence.c (_gtk_sequence_move): Just return if the

View File

@ -1,3 +1,13 @@
Wed Aug 25 00:22:48 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtksequence.c: Remove debug spew
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).
Tue Aug 24 21:46:42 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtksequence.c (_gtk_sequence_move): Just return if the

View File

@ -1,3 +1,13 @@
Wed Aug 25 00:22:48 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtksequence.c: Remove debug spew
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).
Tue Aug 24 21:46:42 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtksequence.c (_gtk_sequence_move): Just return if the

View File

@ -206,14 +206,8 @@ _gtk_sequence_insert (GtkSequencePtr ptr,
node = _gtk_sequence_node_new (data);
node->sequence = ptr->sequence;
g_print ("%p\n", ptr->sequence);
g_print ("before: %d\n", _gtk_sequence_get_length (ptr->sequence));
_gtk_sequence_node_insert_before (ptr, node);
g_print ("after: %d\n", _gtk_sequence_get_length (ptr->sequence));
return node;
}
@ -393,10 +387,7 @@ _gtk_sequence_get_ptr_at_pos (GtkSequence *seq,
len = _gtk_sequence_get_length (seq);
if (pos > len || pos == -1)
{
g_print ("adjusting pos from %d to %d\n", pos, len);
pos = len;
}
pos = len;
return _gtk_sequence_node_find_by_pos (seq->node, pos);
}
@ -1100,6 +1091,9 @@ void
_gtk_sequence_move (GtkSequencePtr ptr,
GtkSequencePtr new_pos)
{
g_return_if_fail (ptr != NULL);
g_return_if_fail (new_pos != NULL);
if (ptr == new_pos)
return;