[evince] libview: Fix deprecated use of gdk_flush



commit dab35959f6fd2208690210245ad905568dfe9b6a
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Sun Jun 21 22:18:23 2020 -0400

    libview: Fix deprecated use of gdk_flush

 libview/ev-view-presentation.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libview/ev-view-presentation.c b/libview/ev-view-presentation.c
index 4ca55515..95963592 100644
--- a/libview/ev-view-presentation.c
+++ b/libview/ev-view-presentation.c
@@ -930,7 +930,7 @@ ev_view_presentation_set_cursor (EvViewPresentation *pview,
 
        cursor = ev_view_cursor_new (gtk_widget_get_display (widget), view_cursor);
        gdk_window_set_cursor (gtk_widget_get_window (widget), cursor);
-       gdk_flush ();
+       gdk_display_flush (gtk_widget_get_display (widget));
        if (cursor)
                g_object_unref (cursor);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]