summaryrefslogtreecommitdiff
path: root/gtk/gtktext.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtktext.c')
-rw-r--r--gtk/gtktext.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gtk/gtktext.c b/gtk/gtktext.c
index 2d1815ad3d..66c1a4824e 100644
--- a/gtk/gtktext.c
+++ b/gtk/gtktext.c
@@ -1729,7 +1729,7 @@ gtk_text_button_press (GtkWidget *widget,
}
}
- return FALSE;
+ return TRUE;
}
static gint
@@ -1790,7 +1790,7 @@ gtk_text_button_release (GtkWidget *widget,
find_cursor (text, TRUE);
draw_cursor (text, FALSE);
- return FALSE;
+ return TRUE;
}
static gint
@@ -1907,8 +1907,6 @@ gtk_text_key_press (GtkWidget *widget,
g_return_val_if_fail (GTK_IS_TEXT (widget), FALSE);
g_return_val_if_fail (event != NULL, FALSE);
- return_val = FALSE;
-
text = GTK_TEXT (widget);
old_editable = GTK_OLD_EDITABLE (widget);
@@ -2094,8 +2092,6 @@ gtk_text_key_press (GtkWidget *widget,
return_val = TRUE;
}
- else
- return_val = FALSE;
}
if (return_val && (old_editable->current_pos != initial_pos))