Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/ui/ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ guint pb_pulse_id;
static ConfigValues configValues;



static void *stopHp(void *) {
static void *stopHp(gpointer data) {
if(running_info[0]!=NULL){
gtk_label_set_label(label_status,"Stopping ...");
start_pb_pulse();
Expand Down Expand Up @@ -710,7 +709,8 @@ void clear_running_info(){
running_info[0]=NULL;
}

void* init_running_info(void *){

void* init_running_info(gpointer data){

clear_running_info();
lock_all_views(TRUE);
Expand Down
5 changes: 3 additions & 2 deletions src/ui/ui.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ static void* run_create_hp_shell(void *cmd);

void init_interface_list();

void* init_running_info(void *);

void* init_running_info(gpointer data);

static gboolean update_progress_in_timeout (gpointer pbar);

Expand All @@ -60,7 +61,7 @@ static guint start_pb_pulse();

static void on_create_hp_clicked(GtkWidget *widget,gpointer data);

static void *stopHp(void *);
static void *stopHp(gpointer data);

static int init_config_val_input(ConfigValues* cv);

Expand Down