stylecontext: Remove outdated comment
authorTimm Bäder <mail@baedert.org>
Fri, 4 May 2018 17:58:15 +0000 (19:58 +0200)
committerTimm Bäder <mail@baedert.org>
Sat, 5 May 2018 05:25:10 +0000 (07:25 +0200)
gtktextview:invalidate_cursor_windwo is no more.

gtk/gtkstylecontext.c

index 0afecc4c4653e65cf92e00ed23dc5ee349c9e060..c26ab4136eb81b0012ac1c7d18a627c0ff5e3f57 100644 (file)
@@ -1696,10 +1696,6 @@ draw_insertion_cursor (GtkStyleContext *context,
   _gtk_style_context_get_cursor_color (context, &primary_color, &secondary_color);
   gdk_cairo_set_source_rgba (cr, is_primary ? &primary_color : &secondary_color);
 
-  /* When changing the shape or size of the cursor here,
-   * propagate the changes to gtktextview.c:text_window_invalidate_cursors().
-   */
-
   stem_width = height * CURSOR_ASPECT_RATIO + 1;
 
   /* put (stem_width % 2) on the proper side of the cursor */