From: Timm Bäder Date: Fri, 4 May 2018 17:58:15 +0000 (+0200) Subject: stylecontext: Remove outdated comment X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~22^2~324 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f44959fa59e4f2d91e7460f5b21ac1a2be04273f;p=gtk4.git stylecontext: Remove outdated comment gtktextview:invalidate_cursor_windwo is no more. --- diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c index 0afecc4c46..c26ab4136e 100644 --- a/gtk/gtkstylecontext.c +++ b/gtk/gtkstylecontext.c @@ -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 */