Move gtk_builder_extend_with_template to public header
We export the symbol, so we should not hide it in private headers.
This commit is contained in:
@ -226,6 +226,13 @@ GtkApplication * gtk_builder_get_application (GtkBuilder *builder);
|
|||||||
#define GTK_BUILDER_WARN_INVALID_CHILD_TYPE(object, type) \
|
#define GTK_BUILDER_WARN_INVALID_CHILD_TYPE(object, type) \
|
||||||
g_warning ("'%s' is not a valid child type of '%s'", type, g_type_name (G_OBJECT_TYPE (object)))
|
g_warning ("'%s' is not a valid child type of '%s'", type, g_type_name (G_OBJECT_TYPE (object)))
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_3_18
|
||||||
|
guint gtk_builder_extend_with_template (GtkBuilder *builder,
|
||||||
|
GtkWidget *widget,
|
||||||
|
GType template_type, const gchar *buffer,
|
||||||
|
gsize length,
|
||||||
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GTK_BUILDER_H__ */
|
#endif /* __GTK_BUILDER_H__ */
|
||||||
|
@ -182,12 +182,6 @@ void _gtk_builder_menu_start (ParserData *parser_data,
|
|||||||
void _gtk_builder_menu_end (ParserData *parser_data);
|
void _gtk_builder_menu_end (ParserData *parser_data);
|
||||||
|
|
||||||
GType _gtk_builder_get_template_type (GtkBuilder *builder);
|
GType _gtk_builder_get_template_type (GtkBuilder *builder);
|
||||||
GDK_AVAILABLE_IN_3_18
|
|
||||||
guint gtk_builder_extend_with_template (GtkBuilder *builder,
|
|
||||||
GtkWidget *widget,
|
|
||||||
GType template_type, const gchar *buffer,
|
|
||||||
gsize length,
|
|
||||||
GError **error);
|
|
||||||
|
|
||||||
void _gtk_builder_prefix_error (GtkBuilder *builder,
|
void _gtk_builder_prefix_error (GtkBuilder *builder,
|
||||||
GMarkupParseContext *context,
|
GMarkupParseContext *context,
|
||||||
|
Reference in New Issue
Block a user