fixed column resize bug

Mon Dec 21 22:01:49 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug
This commit is contained in:
Lars Hamann
1998-12-21 21:09:37 +00:00
committed by Lars Hamann
parent af2c3bd16f
commit df7d275d17
8 changed files with 32 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
Mon Dec 21 22:01:49 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug
Sun Dec 20 04:48:59 1998 Tim Janik <timj@gtk.org>
* gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which

View File

@@ -1,3 +1,7 @@
Mon Dec 21 22:01:49 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug
Sun Dec 20 04:48:59 1998 Tim Janik <timj@gtk.org>
* gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which

View File

@@ -1,3 +1,7 @@
Mon Dec 21 22:01:49 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug
Sun Dec 20 04:48:59 1998 Tim Janik <timj@gtk.org>
* gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which

View File

@@ -1,3 +1,7 @@
Mon Dec 21 22:01:49 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug
Sun Dec 20 04:48:59 1998 Tim Janik <timj@gtk.org>
* gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which

View File

@@ -1,3 +1,7 @@
Mon Dec 21 22:01:49 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug
Sun Dec 20 04:48:59 1998 Tim Janik <timj@gtk.org>
* gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which

View File

@@ -1,3 +1,7 @@
Mon Dec 21 22:01:49 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug
Sun Dec 20 04:48:59 1998 Tim Janik <timj@gtk.org>
* gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which

View File

@@ -1,3 +1,7 @@
Mon Dec 21 22:01:49 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug
Sun Dec 20 04:48:59 1998 Tim Janik <timj@gtk.org>
* gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which

View File

@@ -5130,17 +5130,17 @@ gtk_clist_motion (GtkWidget *widget,
gint y;
gint row;
gint new_width;
gint button_actions;
gint button_actions = 0;
g_return_val_if_fail (widget != NULL, FALSE);
g_return_val_if_fail (GTK_IS_CLIST (widget), FALSE);
clist = GTK_CLIST (widget);
if (!(gdk_pointer_is_grabbed () && GTK_WIDGET_HAS_GRAB (clist)) ||
!clist->drag_button)
if (!(gdk_pointer_is_grabbed () && GTK_WIDGET_HAS_GRAB (clist)))
return FALSE;
button_actions = clist->button_actions[clist->drag_button - 1];
if (clist->drag_button > 0)
button_actions = clist->button_actions[clist->drag_button - 1];
if (GTK_CLIST_IN_DRAG(clist))
{