diff options
author | Thomas White <taw@physics.org> | 2020-08-27 16:40:42 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-27 16:40:42 +0200 |
commit | d08b35b6607d926f03c18a80f84e04755770fc95 (patch) | |
tree | 9948259f7ae56ab6d4144aeae75e5953fba25cff /src/gui_backend_slurm.c | |
parent | ed7883d8ee8739adfa39a5a71c1bffe2572dbb44 (diff) |
Fix function prototypes and returns for focus-out-event
Diffstat (limited to 'src/gui_backend_slurm.c')
-rw-r--r-- | src/gui_backend_slurm.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/gui_backend_slurm.c b/src/gui_backend_slurm.c index dfd0d9f5..5fb00123 100644 --- a/src/gui_backend_slurm.c +++ b/src/gui_backend_slurm.c @@ -93,10 +93,11 @@ static void block_size_activate_sig(GtkEntry *entry, gpointer data) } -static void block_size_focus_sig(GtkEntry *entry, GdkEvent *event, - gpointer data) +static gboolean block_size_focus_sig(GtkEntry *entry, GdkEvent *event, + gpointer data) { block_size_activate_sig(entry, data); + return FALSE; } @@ -107,10 +108,11 @@ static void partition_activate_sig(GtkEntry *entry, gpointer data) } -static void partition_focus_sig(GtkEntry *entry, GdkEvent *event, - gpointer data) +static gboolean partition_focus_sig(GtkEntry *entry, GdkEvent *event, + gpointer data) { partition_activate_sig(entry, data); + return FALSE; } @@ -121,10 +123,11 @@ static void email_activate_sig(GtkEntry *entry, gpointer data) } -static void email_focus_sig(GtkEntry *entry, GdkEvent *event, - gpointer data) +static gboolean email_focus_sig(GtkEntry *entry, GdkEvent *event, + gpointer data) { email_activate_sig(entry, data); + return FALSE; } |