aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui_backend_local.c5
-rw-r--r--src/gui_backend_slurm.c15
-rw-r--r--src/gui_peaksearch.c14
3 files changed, 20 insertions, 14 deletions
diff --git a/src/gui_backend_local.c b/src/gui_backend_local.c
index 3aee7904..b66b8840 100644
--- a/src/gui_backend_local.c
+++ b/src/gui_backend_local.c
@@ -267,10 +267,11 @@ static void n_processes_activate_sig(GtkEntry *entry, gpointer data)
}
-static void n_processes_focus_sig(GtkEntry *entry, GdkEvent *event,
- gpointer data)
+static gboolean n_processes_focus_sig(GtkEntry *entry, GdkEvent *event,
+ gpointer data)
{
n_processes_activate_sig(entry, data);
+ return FALSE;
}
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;
}
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;
}