Skip to content
Permalink
Browse files

mate-rr-config: replace deprecated gdk_flush

  • Loading branch information...
raveit65 committed Aug 12, 2018
1 parent 953da77 commit 6ef0247eefb342d0d345a97f201aea217203b499
Showing with 3 additions and 1 deletion.
  1. +3 −1 libmate-desktop/mate-rr-config.c
@@ -1290,6 +1290,7 @@ mate_rr_config_apply_with_time (MateRRConfig *config,
MateRROutputInfo **outputs;
gboolean result = FALSE;
int i;
GdkDisplay *display;

g_return_val_if_fail (MATE_IS_RR_CONFIG (config), FALSE);
g_return_val_if_fail (MATE_IS_RR_SCREEN (screen), FALSE);
@@ -1309,7 +1310,8 @@ mate_rr_config_apply_with_time (MateRRConfig *config,

crtc_assignment_free (assignment);

gdk_flush ();
display = gdk_display_get_default ();
gdk_display_flush (display);
}

return result;

0 comments on commit 6ef0247

Please sign in to comment.
You can’t perform that action at this time.