diff options
author | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2020-06-10 17:25:29 -0300 |
---|---|---|
committer | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2020-06-10 17:25:29 -0300 |
commit | 82213adda1f72ddf5298422a90c56fcadae8ce6b (patch) | |
tree | aa9766477d6a4e1cadbebf568473f0f2abaa5953 /gladeui | |
parent | 779d9d8c85dab2929de0a43867139d60f89e2f52 (diff) | |
download | glade-82213adda1f72ddf5298422a90c56fcadae8ce6b.tar.gz |
Ignore deprecated function call.
Diffstat (limited to 'gladeui')
-rw-r--r-- | gladeui/glade-dnd.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |