]> git.eshelyaron.com Git - emacs.git/commitdiff
Use gtk_widget_queue_draw instead of xv_do_draw
authorPo Lu <luangruo@yahoo.com>
Wed, 3 Nov 2021 13:00:20 +0000 (21:00 +0800)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 7 Nov 2021 01:59:40 +0000 (02:59 +0100)
* src/xwidget.c (x_draw_xwidget_glyph_string): Call
gtk_widget_queue_draw.

src/xwidget.c

index d4196bced1ac2b937304a348d8c71937dc820a85..5a4cb36ee477a7092557dd42dee390afc6dd5647 100644 (file)
@@ -915,7 +915,7 @@ x_draw_xwidget_glyph_string (struct glyph_string *s)
   if (!xwidget_hidden (xv))
     {
 #ifdef USE_GTK
-      xv_do_draw (xv, xww);
+      gtk_widget_queue_draw (xww->widget_osr);
 #elif defined NS_IMPL_COCOA
       nsxwidget_set_needsdisplay (xv);
 #endif