[metacity/gnome-3-22] frames: avoid a deprecation warning
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity/gnome-3-22] frames: avoid a deprecation warning
- Date: Mon, 24 Oct 2016 16:05:30 +0000 (UTC)
commit 5f2cbccb6e49f0e99385047660af80a9731390e8
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Oct 24 18:58:50 2016 +0300
frames: avoid a deprecation warning
src/ui/frames.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/ui/frames.c b/src/ui/frames.c
index 31fe269..eee61ea 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -2235,7 +2235,10 @@ setup_bg_cr (cairo_t *cr, GdkWindow *window, int x_offset, int y_offset)
GdkWindow *parent = gdk_window_get_parent (window);
cairo_pattern_t *bg_pattern;
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
bg_pattern = gdk_window_get_background_pattern (window);
+ G_GNUC_END_IGNORE_DEPRECATIONS
+
if (bg_pattern == NULL && parent)
{
gint window_x, window_y;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]