From 3c07b7ebbd3d6ddb3dae9bdee185d14c6adaea56 Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Sun, 8 Nov 1998 05:58:41 +0000 Subject: check if column[i].button is valid before calling gtk_widget_intersect on * gtk/gtkclist.c: check if column[i].button is valid before calling gtk_widget_intersect on it in gtk_clist_draw * gtk/gtkdnd.c: removed unused variable empty_bits * gtk/gtkrc.c: we should use gslist_* functions with GSLists... * gtk/gtktypeutils.[ch]: makes more send for gtk_type_is_a to return a boolean (thanks to Elrond for noticing this) -Yosh --- gtk/gtkdnd.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gtk/gtkdnd.c') diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c index 151a5c0eb8..04909165af 100644 --- a/gtk/gtkdnd.c +++ b/gtk/gtkdnd.c @@ -282,11 +282,6 @@ static char action_none_mask_bits[] = { 0x0f, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0x07, 0x00, 0x07, 0x00, }; -static char empty_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; - #define CURSOR_WIDTH 16 #define CURSOR_HEIGHT 16 -- cgit v1.2.1