From 062ecdfea298b6602b4f4c66a27c403d658e148b Mon Sep 17 00:00:00 2001 From: Gerard Klaver Date: Tue, 10 May 2005 18:58:16 +0000 Subject: [PATCH] - 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 --- src/xcam.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/xcam.c b/src/xcam.c index afa0db5..e7b592e 100644 --- a/src/xcam.c +++ b/src/xcam.c @@ -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 ();