Commit e7729de2 authored by Jonathan Blandford's avatar Jonathan Blandford Committed by Jonathan Blandford

fix infinite loop noticed by yosh.

Wed Oct 31 18:53:51 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
	infinite loop noticed by yosh.
parent f3740fb2
Wed Oct 31 18:53:51 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
infinite loop noticed by yosh.
2001-11-01 Michael Meeks <michael@ximian.com>
* gtk/gtksocket.c (gtk_socket_unrealize): unset the
......
Wed Oct 31 18:53:51 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
infinite loop noticed by yosh.
2001-11-01 Michael Meeks <michael@ximian.com>
* gtk/gtksocket.c (gtk_socket_unrealize): unset the
......
Wed Oct 31 18:53:51 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
infinite loop noticed by yosh.
2001-11-01 Michael Meeks <michael@ximian.com>
* gtk/gtksocket.c (gtk_socket_unrealize): unset the
......
Wed Oct 31 18:53:51 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
infinite loop noticed by yosh.
2001-11-01 Michael Meeks <michael@ximian.com>
* gtk/gtksocket.c (gtk_socket_unrealize): unset the
......
Wed Oct 31 18:53:51 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
infinite loop noticed by yosh.
2001-11-01 Michael Meeks <michael@ximian.com>
* gtk/gtksocket.c (gtk_socket_unrealize): unset the
......
Wed Oct 31 18:53:51 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
infinite loop noticed by yosh.
2001-11-01 Michael Meeks <michael@ximian.com>
* gtk/gtksocket.c (gtk_socket_unrealize): unset the
......
Wed Oct 31 18:53:51 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
infinite loop noticed by yosh.
2001-11-01 Michael Meeks <michael@ximian.com>
* gtk/gtksocket.c (gtk_socket_unrealize): unset the
......
......@@ -171,7 +171,7 @@ types that GTK+ understands.
@GDK_AXIS_PRESSURE: the axis is used for pressure information.
@GDK_AXIS_XTILT: the axis is used for x tilt information.
@GDK_AXIS_YTILT: the axis is used for x tilt information.
@GDK_AXIS_WHEEL: the axis is used for wheel information.
@GDK_AXIS_WHEEL: the axis is used for wheel information.
@GDK_AXIS_LAST: a constant equal to the numerically highest axis value.
<!-- ##### FUNCTION gdk_devices_list ##### -->
......@@ -180,7 +180,7 @@ Returns the list of available input devices. The list is statically
allocated and should not be freed.
</para>
@Returns: a list of #GdkDevice*.
@Returns: a list of #GdkDevice*.
<!-- ##### FUNCTION gdk_device_set_source ##### -->
......@@ -199,7 +199,7 @@ device is active and whether the device's range is mapped to the
entire screen or to a single window.
</para>
@device: a #GdkDevice.
@device: a #GdkDevice.
@mode: the input mode.
@Returns: %TRUE if the mode was successfully changed.
......@@ -211,7 +211,7 @@ is pressed.
</para>
@device: a #GdkDevice.
@index: the index of the macro button to set.
@index: the index of the macro button to set.
@keyval: the keyval to generate.
@modifiers: the modifiers to set.
......@@ -221,7 +221,7 @@ is pressed.
Specifies how an axis of a device is used.
</para>
@device: a #GdkDevice.
@device: a #GdkDevice.
@index: the index of the axis.
@use: specifies how the axis is used.
......
......@@ -85,3 +85,8 @@ selected value for the option menu.
@optionmenu: the object which received the signal.
<!-- ##### ARG GtkOptionMenu:menu ##### -->
<para>
</para>
......@@ -230,6 +230,7 @@ Null terminates the stored data.
@selection_data:
@str:
@len:
@Returns:
......
......@@ -1306,10 +1306,18 @@ gtk_tree_row_ref_deleted_callback (GObject *object,
gint i;
if (path->depth > reference->path->depth)
continue;
for (i = 0; i < path->depth - 1; i++)
if (path->indices[i] != reference->path->indices[i])
{
tmp_list = g_slist_next (tmp_list);
continue;
}
for (i = 0; i < path->depth - 1; i++)
{
if (path->indices[i] != reference->path->indices[i])
{
tmp_list = g_slist_next (tmp_list);
continue;
}
}
/* We know it affects us. */
if (path->indices[i] == reference->path->indices[i])
......
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