forked from AuroraMiddleware/gtk
Fix return value error in _gtk_text_handle_set_direction
https://bugzilla.gnome.org/show_bug.cgi?id=750888
This commit is contained in:
parent
6f955a7df6
commit
d8657a8156
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user