forked from AuroraMiddleware/gtk
Fix off-by-one bug in parameter check.
Wed Nov 10 17:26:49 GMT 1999 Tony Gale <gale@gtk.org> * gtk/gtkclist.c: Fix off-by-one bug in parameter check.
This commit is contained in:
parent
95d923f661
commit
57d2bf74a6
@ -1,3 +1,8 @@
|
|||||||
|
Wed Nov 10 17:26:49 GMT 1999 Tony Gale <gale@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkclist.c: Fix off-by-one bug in parameter
|
||||||
|
check.
|
||||||
|
|
||||||
Wed Nov 10 12:12:03 1999 Owen Taylor <otaylor@redhat.com>
|
Wed Nov 10 12:12:03 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
|
* gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Nov 10 17:26:49 GMT 1999 Tony Gale <gale@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkclist.c: Fix off-by-one bug in parameter
|
||||||
|
check.
|
||||||
|
|
||||||
Wed Nov 10 12:12:03 1999 Owen Taylor <otaylor@redhat.com>
|
Wed Nov 10 12:12:03 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
|
* gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Nov 10 17:26:49 GMT 1999 Tony Gale <gale@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkclist.c: Fix off-by-one bug in parameter
|
||||||
|
check.
|
||||||
|
|
||||||
Wed Nov 10 12:12:03 1999 Owen Taylor <otaylor@redhat.com>
|
Wed Nov 10 12:12:03 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
|
* gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Nov 10 17:26:49 GMT 1999 Tony Gale <gale@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkclist.c: Fix off-by-one bug in parameter
|
||||||
|
check.
|
||||||
|
|
||||||
Wed Nov 10 12:12:03 1999 Owen Taylor <otaylor@redhat.com>
|
Wed Nov 10 12:12:03 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
|
* gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Nov 10 17:26:49 GMT 1999 Tony Gale <gale@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkclist.c: Fix off-by-one bug in parameter
|
||||||
|
check.
|
||||||
|
|
||||||
Wed Nov 10 12:12:03 1999 Owen Taylor <otaylor@redhat.com>
|
Wed Nov 10 12:12:03 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
|
* gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Nov 10 17:26:49 GMT 1999 Tony Gale <gale@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkclist.c: Fix off-by-one bug in parameter
|
||||||
|
check.
|
||||||
|
|
||||||
Wed Nov 10 12:12:03 1999 Owen Taylor <otaylor@redhat.com>
|
Wed Nov 10 12:12:03 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
|
* gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Nov 10 17:26:49 GMT 1999 Tony Gale <gale@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkclist.c: Fix off-by-one bug in parameter
|
||||||
|
check.
|
||||||
|
|
||||||
Wed Nov 10 12:12:03 1999 Owen Taylor <otaylor@redhat.com>
|
Wed Nov 10 12:12:03 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
|
* gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
|
||||||
|
@ -7862,7 +7862,7 @@ gtk_clist_set_button_actions (GtkCList *clist,
|
|||||||
g_return_if_fail (clist != NULL);
|
g_return_if_fail (clist != NULL);
|
||||||
g_return_if_fail (GTK_IS_CLIST (clist));
|
g_return_if_fail (GTK_IS_CLIST (clist));
|
||||||
|
|
||||||
if (button <= MAX_BUTTON)
|
if (button < MAX_BUTTON)
|
||||||
{
|
{
|
||||||
if (gdk_pointer_is_grabbed () || GTK_WIDGET_HAS_GRAB (clist))
|
if (gdk_pointer_is_grabbed () || GTK_WIDGET_HAS_GRAB (clist))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user