diff --git a/ChangeLog b/ChangeLog index 67fc780411..bc0506d0f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Dec 21 22:01:49 1998 Lars Hamann + + * gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug + Sun Dec 20 04:48:59 1998 Tim Janik * gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 67fc780411..bc0506d0f3 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,7 @@ +Mon Dec 21 22:01:49 1998 Lars Hamann + + * gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug + Sun Dec 20 04:48:59 1998 Tim Janik * gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 67fc780411..bc0506d0f3 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,7 @@ +Mon Dec 21 22:01:49 1998 Lars Hamann + + * gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug + Sun Dec 20 04:48:59 1998 Tim Janik * gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 67fc780411..bc0506d0f3 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,7 @@ +Mon Dec 21 22:01:49 1998 Lars Hamann + + * gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug + Sun Dec 20 04:48:59 1998 Tim Janik * gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 67fc780411..bc0506d0f3 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,7 @@ +Mon Dec 21 22:01:49 1998 Lars Hamann + + * gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug + Sun Dec 20 04:48:59 1998 Tim Janik * gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 67fc780411..bc0506d0f3 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,7 @@ +Mon Dec 21 22:01:49 1998 Lars Hamann + + * gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug + Sun Dec 20 04:48:59 1998 Tim Janik * gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 67fc780411..bc0506d0f3 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,7 @@ +Mon Dec 21 22:01:49 1998 Lars Hamann + + * gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug + Sun Dec 20 04:48:59 1998 Tim Janik * gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which diff --git a/gtk/gtkclist.c b/gtk/gtkclist.c index 335714b6f7..897bc34b9b 100644 --- a/gtk/gtkclist.c +++ b/gtk/gtkclist.c @@ -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)) {