X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=gfio.c;h=ff8763dd07e938285ac51223de88b71d08805b3c;hp=c25a264031473412a7db298f1a29062205e42957;hb=cf4b04430772e91f75fe6ce4c550480cd9ee7c7a;hpb=261f21d0e9a273cea8d0ef2ae7faf78edb95ef62 diff --git a/gfio.c b/gfio.c index c25a2640..ff8763dd 100644 --- a/gfio.c +++ b/gfio.c @@ -1753,7 +1753,7 @@ static void connect_clicked(GtkWidget *widget, gpointer data) int ret; if (!ge->nr_job_files) - file_open(widget, data); + file_open(widget, ge->ui); if (!ge->nr_job_files) return; @@ -2065,7 +2065,7 @@ static void file_new(GtkWidget *w, gpointer data) * Return the 'ge' corresponding to the tab. If the active tab is the * main tab, open a new tab. */ -static struct gui_entry *get_ge_from_page(unsigned int cur_page) +static struct gui_entry *get_ge_from_page(gint cur_page) { struct flist_head *entry; struct gui_entry *ge;