[gtk+/wip/matthiasc/touch-selection] text view: minor cleanup
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/matthiasc/touch-selection] text view: minor cleanup
- Date: Mon, 8 Jun 2015 01:26:38 +0000 (UTC)
commit e79fa737b29758b691b9a563f09a5db1f3bcf891
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 7 18:42:16 2015 -0400
text view: minor cleanup
gtk/gtktextview.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index de7b2f9..62dbf63 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -9165,12 +9165,12 @@ show_or_hide_handles (GtkWidget *popover,
if (mode == GTK_TEXT_HANDLE_MODE_CURSOR)
{
- _gtk_text_handle_set_visible (text_view->priv->text_handle, GTK_TEXT_HANDLE_POSITION_CURSOR, !visible);
+ _gtk_text_handle_set_visible (handle, GTK_TEXT_HANDLE_POSITION_CURSOR, !visible);
}
else if (mode == GTK_TEXT_HANDLE_MODE_SELECTION)
{
- _gtk_text_handle_set_visible (text_view->priv->text_handle, GTK_TEXT_HANDLE_POSITION_SELECTION_START,
!visible);
- _gtk_text_handle_set_visible (text_view->priv->text_handle, GTK_TEXT_HANDLE_POSITION_SELECTION_END,
!visible);
+ _gtk_text_handle_set_visible (handle, GTK_TEXT_HANDLE_POSITION_SELECTION_START, !visible);
+ _gtk_text_handle_set_visible (handle, GTK_TEXT_HANDLE_POSITION_SELECTION_END, !visible);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]