We should not really need this fix, but until the menu item
sensitivity is fixed, they are visible and we should avoid
the crash.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
struct gui_entry *ge = data;
struct gfio_client *gc = ge->client;
struct gui_entry *ge = data;
struct gfio_client *gc = ge->client;
- gtk_widget_set_sensitive(ge->button[START_JOB_BUTTON], 0);
- fio_start_client(gc->client);
+ if (gc)
+ fio_start_client(gc->client);
}
static void file_open(GtkWidget *w, gpointer data);
}
static void file_open(GtkWidget *w, gpointer data);