- moved 2 DBG lines from above to below variable declarations

(OS/2 compiler error bugreport Franz Bakan)
- Changed declaration for "remaining" from SANE_Int to size_t
merge-requests/2/head
Gerard Klaver 2005-05-10 18:58:16 +00:00
rodzic 625854dd4a
commit 062ecdfea2
1 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

@ -113,7 +113,7 @@ static struct
SANE_Byte *buf;
size_t buf_backend_size;
SANE_Int remaining;
size_t remaining;
SANE_Parameters params;
gpointer data; /* image data */
int x, y; /* x and y position */
@ -568,9 +568,10 @@ device_name_dialog_ok (GtkWidget * widget, gpointer data)
static void
prompt_for_device_name (GtkWidget * widget, gpointer data)
{
DBG (DBG_debug, "xcam: prompt_for_device_name: enter\n");
GtkWidget *vbox, *hbox, *label, *text;
GtkWidget *button, *dialog;
DBG (DBG_debug, "xcam: prompt_for_device_name: enter\n");
dialog = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_position (GTK_WINDOW (dialog), GTK_WIN_POS_MOUSE);
@ -696,8 +697,9 @@ buttons_enable (void)
static GtkWidget *
build_files_menu (void)
{
DBG (DBG_debug, "xcam: build_files_menu: enter\n");
GtkWidget *menu, *item;
DBG (DBG_debug, "xcam: build_files_menu: enter\n");
menu = gtk_menu_new ();