[evince/1246-crash-on-dnd] Closes GNOME/evince#1246



commit 29e8e55f9b1e08d6378b36c7d0144681c8f6de74
Author: Marek Kasik <mkasik redhat com>
Date:   Wed Oct 23 00:28:58 2019 +0200

    Closes GNOME/evince#1246
    
    Fix by Marek Kasik

 libview/ev-view.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 2bb5e3c2..b44f38a3 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -9789,7 +9789,7 @@ ev_view_set_cursor (EvView *view, EvViewCursor new_cursor)
        widget = gtk_widget_get_toplevel (GTK_WIDGET (view));
        cursor = ev_view_cursor_new (gtk_widget_get_display (widget), new_cursor);
        gdk_window_set_cursor (window, 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]