app: return TRUE from button and motion callbacks because we handled the events

This commit is contained in:
Michael Natterer 2010-10-21 13:19:51 +02:00
parent 199804bce5
commit 8f8ea74d1f
1 changed files with 3 additions and 3 deletions

View File

@ -250,14 +250,14 @@ gimp_handle_bar_button_press (GtkWidget *widget,
gtk_adjustment_set_value (bar->slider_adj[bar->active_slider], value); gtk_adjustment_set_value (bar->slider_adj[bar->active_slider], value);
return FALSE; return TRUE;
} }
static gboolean static gboolean
gimp_handle_bar_button_release (GtkWidget *widget, gimp_handle_bar_button_release (GtkWidget *widget,
GdkEventButton *bevent) GdkEventButton *bevent)
{ {
return FALSE; return TRUE;
} }
static gboolean static gboolean
@ -284,7 +284,7 @@ gimp_handle_bar_motion_notify (GtkWidget *widget,
gtk_adjustment_set_value (bar->slider_adj[bar->active_slider], value); gtk_adjustment_set_value (bar->slider_adj[bar->active_slider], value);
return FALSE; return TRUE;
} }