summaryrefslogtreecommitdiff
path: root/gtk/gtktexthandle.c
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2015-06-13 13:44:24 +0800
committerTing-Wei Lan <lantw@src.gnome.org>2015-06-13 23:00:21 +0800
commitd8657a815629103f1cd3ec1b463f694cb0493d6f (patch)
tree762f4abef7ef9d44013fc35721b4b4124da6b727 /gtk/gtktexthandle.c
parent6f955a7df67222b6ee4b2502eb5e1428f9c91d20 (diff)
downloadgtk+-d8657a815629103f1cd3ec1b463f694cb0493d6f.tar.gz
Fix return value error in _gtk_text_handle_set_direction
https://bugzilla.gnome.org/show_bug.cgi?id=750888
Diffstat (limited to 'gtk/gtktexthandle.c')
-rw-r--r--gtk/gtktexthandle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktexthandle.c b/gtk/gtktexthandle.c
index adda5d93d2..977de041b2 100644
--- a/gtk/gtktexthandle.c
+++ b/gtk/gtktexthandle.c
@@ -836,7 +836,7 @@ _gtk_text_handle_set_direction (GtkTextHandle *handle,
{
GtkTextHandlePrivate *priv;
- g_return_val_if_fail (GTK_IS_TEXT_HANDLE (handle), FALSE);
+ g_return_if_fail (GTK_IS_TEXT_HANDLE (handle));
priv = handle->priv;
pos = CLAMP (pos, GTK_TEXT_HANDLE_POSITION_CURSOR,