Outstanding patches, #58420
- From: "Matthias Clasen" <matthiasc poet de>
- To: <gtk-devel-list gnome org>
- Subject: Outstanding patches, #58420
- Date: Thu, 9 Aug 2001 10:38:55 +0200
Selecting the "Cursor not visible" option crashes testtext.
Here is a patch to fix this. Ok to commit ?
Index: gtk/gtktextview.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtktextview.c,v
retrieving revision 1.104
diff -u -3 -p -u -r1.104 gtktextview.c
--- gtk/gtktextview.c 2001/07/19 14:57:13 1.104
+++ gtk/gtktextview.c 2001/08/09 08:37:24
@@ -3744,12 +3744,6 @@ gtk_text_view_check_cursor_blink (GtkTex
return;
#endif
- if (text_view->layout == NULL)
- return;
-
- if (!text_view->cursor_visible)
- return;
-
if (text_view->layout != NULL &&
text_view->cursor_visible &&
GTK_WIDGET_HAS_FOCUS (text_view))
@@ -3775,7 +3769,7 @@ gtk_text_view_check_cursor_blink (GtkTex
}
static void
-gtk_text_view_pend_cursor_blink(GtkTextView *text_view)
+gtk_text_view_pend_cursor_blink (GtkTextView *text_view)
{
if (text_view->layout != NULL &&
text_view->cursor_visible &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]