gtk_calendar_button_press: check for action_func != NULL
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2001-04-04 Denis Oliver Kropp <dok@convergence.de>
|
||||||
|
|
||||||
|
* gtk/gtkcalendar.c (gtk_calendar_button_press):
|
||||||
|
check for action_func != NULL
|
||||||
|
|
||||||
2001-04-04 Sven Neumann <sven@gimp.org>
|
2001-04-04 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* tests/testgtk.c (test_init): corrected path to gtk.immodules
|
* tests/testgtk.c (test_init): corrected path to gtk.immodules
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
2001-04-04 Denis Oliver Kropp <dok@convergence.de>
|
||||||
|
|
||||||
|
* gtk/gtkcalendar.c (gtk_calendar_button_press):
|
||||||
|
check for action_func != NULL
|
||||||
|
|
||||||
2001-04-04 Sven Neumann <sven@gimp.org>
|
2001-04-04 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* tests/testgtk.c (test_init): corrected path to gtk.immodules
|
* tests/testgtk.c (test_init): corrected path to gtk.immodules
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
2001-04-04 Denis Oliver Kropp <dok@convergence.de>
|
||||||
|
|
||||||
|
* gtk/gtkcalendar.c (gtk_calendar_button_press):
|
||||||
|
check for action_func != NULL
|
||||||
|
|
||||||
2001-04-04 Sven Neumann <sven@gimp.org>
|
2001-04-04 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* tests/testgtk.c (test_init): corrected path to gtk.immodules
|
* tests/testgtk.c (test_init): corrected path to gtk.immodules
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
2001-04-04 Denis Oliver Kropp <dok@convergence.de>
|
||||||
|
|
||||||
|
* gtk/gtkcalendar.c (gtk_calendar_button_press):
|
||||||
|
check for action_func != NULL
|
||||||
|
|
||||||
2001-04-04 Sven Neumann <sven@gimp.org>
|
2001-04-04 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* tests/testgtk.c (test_init): corrected path to gtk.immodules
|
* tests/testgtk.c (test_init): corrected path to gtk.immodules
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
2001-04-04 Denis Oliver Kropp <dok@convergence.de>
|
||||||
|
|
||||||
|
* gtk/gtkcalendar.c (gtk_calendar_button_press):
|
||||||
|
check for action_func != NULL
|
||||||
|
|
||||||
2001-04-04 Sven Neumann <sven@gimp.org>
|
2001-04-04 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* tests/testgtk.c (test_init): corrected path to gtk.immodules
|
* tests/testgtk.c (test_init): corrected path to gtk.immodules
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
2001-04-04 Denis Oliver Kropp <dok@convergence.de>
|
||||||
|
|
||||||
|
* gtk/gtkcalendar.c (gtk_calendar_button_press):
|
||||||
|
check for action_func != NULL
|
||||||
|
|
||||||
2001-04-04 Sven Neumann <sven@gimp.org>
|
2001-04-04 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* tests/testgtk.c (test_init): corrected path to gtk.immodules
|
* tests/testgtk.c (test_init): corrected path to gtk.immodules
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
2001-04-04 Denis Oliver Kropp <dok@convergence.de>
|
||||||
|
|
||||||
|
* gtk/gtkcalendar.c (gtk_calendar_button_press):
|
||||||
|
check for action_func != NULL
|
||||||
|
|
||||||
2001-04-04 Sven Neumann <sven@gimp.org>
|
2001-04-04 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* tests/testgtk.c (test_init): corrected path to gtk.immodules
|
* tests/testgtk.c (test_init): corrected path to gtk.immodules
|
||||||
|
|||||||
@ -2332,7 +2332,7 @@ gtk_calendar_button_press (GtkWidget *widget,
|
|||||||
action_func = gtk_calendar_set_year_next;
|
action_func = gtk_calendar_set_year_next;
|
||||||
|
|
||||||
/* only call the action on single click, not double */
|
/* only call the action on single click, not double */
|
||||||
if (event->type == GDK_BUTTON_PRESS)
|
if (action_func && event->type == GDK_BUTTON_PRESS)
|
||||||
(* action_func) (calendar);
|
(* action_func) (calendar);
|
||||||
|
|
||||||
return action_func != NULL;
|
return action_func != NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user