merge-requests/14/head
Ordissimo 2022-06-20 13:40:28 +00:00
rodzic d4e596049c
commit c3cc0cb55b
2 zmienionych plików z 0 dodań i 6 usunięć

Wyświetl plik

@ -907,7 +907,6 @@ scan_start (Preview * p)
SANE_Status status;
char buf[256];
int fd;
Progress_t *progress;
#ifdef HAVE_SYS_TIME_H
struct timeval start, current;
#endif

Wyświetl plik

@ -51,12 +51,7 @@ progress_new (char *title, char *text, GtkWindow * parent,
p->firstTime = 0;
p->shell = gtk_dialog_new ();
#if GTK_MAJOR_VERSION < 2
gtk_window_get_position (GTK_WINDOW (parent), &x, &y);
gtk_widget_set_uposition (p->shell, x, y);
#else
gtk_window_set_transient_for (GTK_WINDOW (p->shell), parent);
#endif
gtk_window_set_title (GTK_WINDOW (p->shell), title);
vbox = GTK_BOX (gtk_dialog_get_content_area(GTK_DIALOG (p->shell)));