[gimp] app: return TRUE from button and motion callbacks because we handled the events
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: return TRUE from button and motion callbacks because we handled the events
- Date: Thu, 21 Oct 2010 11:20:25 +0000 (UTC)
commit 8f8ea74d1fc3be72d17ee3d71fd56049ae6c93c3
Author: Michael Natterer <mitch gimp org>
Date: Thu Oct 21 13:19:51 2010 +0200
app: return TRUE from button and motion callbacks because we handled the events
app/widgets/gimphandlebar.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/widgets/gimphandlebar.c b/app/widgets/gimphandlebar.c
index 172bbcb..5bfab70 100644
--- a/app/widgets/gimphandlebar.c
+++ b/app/widgets/gimphandlebar.c
@@ -250,14 +250,14 @@ gimp_handle_bar_button_press (GtkWidget *widget,
gtk_adjustment_set_value (bar->slider_adj[bar->active_slider], value);
- return FALSE;
+ return TRUE;
}
static gboolean
gimp_handle_bar_button_release (GtkWidget *widget,
GdkEventButton *bevent)
{
- return FALSE;
+ return TRUE;
}
static gboolean
@@ -284,7 +284,7 @@ gimp_handle_bar_motion_notify (GtkWidget *widget,
gtk_adjustment_set_value (bar->slider_adj[bar->active_slider], value);
- return FALSE;
+ return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]