diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2017-03-21 12:49:08 +0200 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2017-03-21 12:49:08 +0200 |
commit | b1c7aa388e9654a5b4a729243150a5ab0172a65c (patch) | |
tree | 92b1aea8e083f72a4241b60836af04892f0ea655 | |
parent | 1b7db9202e9374266b4ea01e13241f79850d6d22 (diff) | |
download | metacity-b1c7aa388e9654a5b4a729243150a5ab0172a65c.tar.gz |
frames: avoid deprecation warnings
-rw-r--r-- | src/ui/frames.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/frames.c b/src/ui/frames.c index d63574af..4187678c 100644 --- a/src/ui/frames.c +++ b/src/ui/frames.c @@ -1279,7 +1279,9 @@ meta_frames_repaint_frame (MetaFrames *frames, /* repaint everything, so the other frame don't * lag behind if they are exposed */ + G_GNUC_BEGIN_IGNORE_DEPRECATIONS gdk_window_process_all_updates (); + G_GNUC_END_IGNORE_DEPRECATIONS } static void @@ -2730,7 +2732,9 @@ meta_frames_push_delay_exposes (MetaFrames *frames) if (frames->expose_delay_count == 0) { /* Make sure we've repainted things */ + G_GNUC_BEGIN_IGNORE_DEPRECATIONS gdk_window_process_all_updates (); + G_GNUC_END_IGNORE_DEPRECATIONS XFlush (frames->xdisplay); } |