summaryrefslogtreecommitdiff
path: root/src/caja-application.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-05-05 17:47:25 +0200
committerlukefromdc <[email protected]>2018-05-07 02:36:35 -0400
commit2392093542a0819ad186885b2b0969870dfcafe0 (patch)
treee10c408c2f09e9d32e99204a407345196bc830e6 /src/caja-application.c
parent5ed053f9c332465a173c3ceeb8e3e16dfdbfc440 (diff)
downloadcaja-2392093542a0819ad186885b2b0969870dfcafe0.tar.bz2
caja-2392093542a0819ad186885b2b0969870dfcafe0.tar.xz
replace deprecated gdk_flush
Diffstat (limited to 'src/caja-application.c')
-rw-r--r--src/caja-application.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/caja-application.c b/src/caja-application.c
index 77a323a6..5f460d3d 100644
--- a/src/caja-application.c
+++ b/src/caja-application.c
@@ -816,9 +816,9 @@ caja_application_create_desktop_windows (CajaApplication *application)
/* We realize it immediately so that the CAJA_DESKTOP_WINDOW_ID
property is set so mate-settings-daemon doesn't try to set the
- background. And we do a gdk_flush() to be sure X gets it. */
+ background. And we do a gdk_display_flush() to be sure X gets it. */
gtk_widget_realize (GTK_WIDGET (window));
- gdk_flush ();
+ gdk_display_flush (display);
caja_application_desktop_windows =
g_list_prepend (caja_application_desktop_windows, window);