Commit c2ddb932 authored by Emmanuele Bassi's avatar Emmanuele Bassi

popover: Disable deprecation warning

For gtk_render_frame_gap().
parent d9d3ec7c
...@@ -1184,12 +1184,14 @@ gtk_popover_draw (GtkWidget *widget, ...@@ -1184,12 +1184,14 @@ gtk_popover_draw (GtkWidget *widget,
gap_end = final_y - rect_y; gap_end = final_y - rect_y;
} }
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
/* Now render the frame, without the gap for the arrow tip */ /* Now render the frame, without the gap for the arrow tip */
gtk_render_frame_gap (context, cr, gtk_render_frame_gap (context, cr,
rect_x, rect_y, rect_x, rect_y,
rect_w, rect_h, rect_w, rect_h,
gap_side, gap_side,
gap_start, gap_end); gap_start, gap_end);
G_GNUC_END_IGNORE_DEPRECATIONS
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment