[metacity/gnome-3-24] frames: avoid deprecation warnings
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity/gnome-3-24] frames: avoid deprecation warnings
- Date: Tue, 21 Mar 2017 10:49:23 +0000 (UTC)
commit b1c7aa388e9654a5b4a729243150a5ab0172a65c
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Tue Mar 21 12:49:08 2017 +0200
frames: avoid deprecation warnings
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 d63574a..4187678 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]