[glade] Ignore deprecated function call.



commit 82213adda1f72ddf5298422a90c56fcadae8ce6b
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date:   Wed Jun 10 17:25:29 2020 -0300

    Ignore deprecated function call.

 gladeui/glade-dnd.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gladeui/glade-dnd.c b/gladeui/glade-dnd.c
index 39e6fb24..5217f752 100644
--- a/gladeui/glade-dnd.c
+++ b/gladeui/glade-dnd.c
@@ -100,7 +100,9 @@ on_drag_icon_draw (GtkWidget *widget, cairo_t *cr)
   h = alloc.height;
   h2 = h/2.0;
 
+  G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
   gtk_style_context_get_background_color (context, gtk_style_context_get_state (context), &bg);
+  G_GNUC_END_IGNORE_DEPRECATIONS;
 
   gradient = cairo_pattern_create_linear (x, y, x, y+h);
   cairo_pattern_add_color_stop_rgba (gradient, 0, bg.red, bg.green, bg.blue, 0);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]