Fix return value error in _gtk_text_handle_set_direction

https://bugzilla.gnome.org/show_bug.cgi?id=750888
This commit is contained in:
Ting-Wei Lan 2015-06-13 13:44:24 +08:00
parent 6f955a7df6
commit d8657a8156

View File

@ -836,7 +836,7 @@ _gtk_text_handle_set_direction (GtkTextHandle *handle,
{ {
GtkTextHandlePrivate *priv; 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; priv = handle->priv;
pos = CLAMP (pos, GTK_TEXT_HANDLE_POSITION_CURSOR, pos = CLAMP (pos, GTK_TEXT_HANDLE_POSITION_CURSOR,