[gtk+] Fix return value error in _gtk_text_handle_set_direction
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix return value error in _gtk_text_handle_set_direction
- Date: Sat, 13 Jun 2015 15:02:48 +0000 (UTC)
commit d8657a815629103f1cd3ec1b463f694cb0493d6f
Author: Ting-Wei Lan <lantw src gnome org>
Date: Sat Jun 13 13:44:24 2015 +0800
Fix return value error in _gtk_text_handle_set_direction
https://bugzilla.gnome.org/show_bug.cgi?id=750888
gtk/gtktexthandle.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktexthandle.c b/gtk/gtktexthandle.c
index adda5d9..977de04 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]