gtk; Deprecate gtk_render_frame_gap()

Use gtk_render_frame() instead.
This commit is contained in:
Benjamin Otte 2018-07-24 19:44:36 +02:00
parent 8fd5b567dc
commit e0807fcf54
2 changed files with 4 additions and 1 deletions

View File

@ -757,6 +757,9 @@ gtk_css_style_render_frame_gap (GtkCssStyle *style,
* ![](frame-gap.png)
*
* Since: 3.0
*
* Deprecated: 3.24: Use gtk_render_frame() instead. Themes can create gaps
* by omitting borders via CSS.
**/
void
gtk_render_frame_gap (GtkStyleContext *context,

View File

@ -110,7 +110,7 @@ void gtk_render_slider (GtkStyleContext *context,
gdouble width,
gdouble height,
GtkOrientation orientation);
GDK_AVAILABLE_IN_ALL
GDK_DEPRECATED_IN_3_24_FOR(gtk_render_frame)
void gtk_render_frame_gap (GtkStyleContext *context,
cairo_t *cr,
gdouble x,