kopia lustrzana https://gitlab.com/sane-project/frontends
- 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_t33-incorporate-downstream-patches
rodzic
625854dd4a
commit
062ecdfea2
|
@ -113,7 +113,7 @@ static struct
|
||||||
|
|
||||||
SANE_Byte *buf;
|
SANE_Byte *buf;
|
||||||
size_t buf_backend_size;
|
size_t buf_backend_size;
|
||||||
SANE_Int remaining;
|
size_t remaining;
|
||||||
SANE_Parameters params;
|
SANE_Parameters params;
|
||||||
gpointer data; /* image data */
|
gpointer data; /* image data */
|
||||||
int x, y; /* x and y position */
|
int x, y; /* x and y position */
|
||||||
|
@ -568,10 +568,11 @@ device_name_dialog_ok (GtkWidget * widget, gpointer data)
|
||||||
static void
|
static void
|
||||||
prompt_for_device_name (GtkWidget * widget, gpointer data)
|
prompt_for_device_name (GtkWidget * widget, gpointer data)
|
||||||
{
|
{
|
||||||
DBG (DBG_debug, "xcam: prompt_for_device_name: enter\n");
|
|
||||||
GtkWidget *vbox, *hbox, *label, *text;
|
GtkWidget *vbox, *hbox, *label, *text;
|
||||||
GtkWidget *button, *dialog;
|
GtkWidget *button, *dialog;
|
||||||
|
|
||||||
|
DBG (DBG_debug, "xcam: prompt_for_device_name: enter\n");
|
||||||
|
|
||||||
dialog = gtk_window_new (GTK_WINDOW_TOPLEVEL);
|
dialog = gtk_window_new (GTK_WINDOW_TOPLEVEL);
|
||||||
gtk_window_position (GTK_WINDOW (dialog), GTK_WIN_POS_MOUSE);
|
gtk_window_position (GTK_WINDOW (dialog), GTK_WIN_POS_MOUSE);
|
||||||
gtk_window_set_title (GTK_WINDOW (dialog), "Device name");
|
gtk_window_set_title (GTK_WINDOW (dialog), "Device name");
|
||||||
|
@ -696,9 +697,10 @@ buttons_enable (void)
|
||||||
static GtkWidget *
|
static GtkWidget *
|
||||||
build_files_menu (void)
|
build_files_menu (void)
|
||||||
{
|
{
|
||||||
DBG (DBG_debug, "xcam: build_files_menu: enter\n");
|
|
||||||
GtkWidget *menu, *item;
|
GtkWidget *menu, *item;
|
||||||
|
|
||||||
|
DBG (DBG_debug, "xcam: build_files_menu: enter\n");
|
||||||
|
|
||||||
menu = gtk_menu_new ();
|
menu = gtk_menu_new ();
|
||||||
|
|
||||||
item = gtk_menu_item_new ();
|
item = gtk_menu_item_new ();
|
||||||
|
|
Ładowanie…
Reference in New Issue