* src/xscanimage.c: fix select_device_callback() to return 0, fixing

a minor yet annoying bug in the device chooser (radio buttons didn't
toggle their status when clicked).
merge-requests/2/head
Julien BLACHE 2004-04-02 14:23:38 +00:00
rodzic 3ef6271b7f
commit 5d73974220
2 zmienionych plików z 10 dodań i 2 usunięć

Wyświetl plik

@ -1,3 +1,8 @@
2004-04-02 Julien BLACHE <jb@jblache.org>
* src/xscanimage.c: fix select_device_callback() to return 0, fixing
a minor yet annoying bug in the device chooser (radio buttons didn't
toggle their status when clicked).
2004-02-22 Henning Meier-Geinitz <henning@meier-geinitz.de>
* lib/usleep.c sanei/sanei_load_values.c
@ -6,7 +11,8 @@
2004-01-25 Julien BLACHE <jb@jblache.org>
* src/xscanimage.c: add a call to gimp_extension_ack(), conforming
to the GIMP 2.0 plug-in API. Also initial the status to GIMP_PDB_CALLING_ERROR.
to the GIMP 2.0 plug-in API. Also initialize the status to GIMP_PDB_CALLING_ERROR.
2004-01-22 Julien BLACHE <jb@jblache.org>
* src/xscanimage.c: reverse the #ifdef ENABLE_GIMP_1_3 logic, we
now have ENABLE_GIMP_1_2 when GIMP 1.2 is explicitely wanted.

Wyświetl plik

@ -1880,13 +1880,15 @@ ok_choose_dialog_callback (void)
device_dialog ();
}
static void
static int
select_device_callback (GtkWidget * widget, GdkEventButton *event,
gpointer data)
{
seldev = (long) data;
if (event->type == GDK_2BUTTON_PRESS && event->button == 1)
ok_choose_dialog_callback ();
return 0;
}
static gint32