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_peaksearch.c | |
parent | ed7883d8ee8739adfa39a5a71c1bffe2572dbb44 (diff) |
Fix function prototypes and returns for focus-out-event
Diffstat (limited to 'src/gui_peaksearch.c')
-rw-r--r-- | src/gui_peaksearch.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/gui_peaksearch.c b/src/gui_peaksearch.c index 09988588..7c2f8a1f 100644 --- a/src/gui_peaksearch.c +++ b/src/gui_peaksearch.c @@ -164,11 +164,12 @@ static void int_param_callback(GtkWidget *entry, } -static void int_param_focus_callback(GtkWidget *entry, - GdkEvent *event, - struct param_callback_vals *cbvals) +static gboolean int_param_focus_callback(GtkWidget *entry, + GdkEvent *event, + struct param_callback_vals *cbvals) { int_param_callback(entry, cbvals); + return FALSE; } @@ -195,11 +196,12 @@ static void float_param_callback(GtkWidget *entry, } -static void float_param_focus_callback(GtkWidget *entry, - GdkEvent *event, - struct param_callback_vals *cbvals) +static gboolean float_param_focus_callback(GtkWidget *entry, + GdkEvent *event, + struct param_callback_vals *cbvals) { float_param_callback(entry, cbvals); + return FALSE; } |