mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-10 12:40:10 +00:00
filefilter: Warn about deprecated buildable features
These can all be set as properties.
This commit is contained in:
parent
b8cb738381
commit
76e9564e5e
@ -442,6 +442,8 @@ gtk_file_filter_buildable_custom_tag_start (GtkBuildable *buildable,
|
||||
|
||||
if (strcmp (tagname, "mime-types") == 0)
|
||||
{
|
||||
gtk_buildable_tag_deprecation_warning (buildable,builder, "mime-types", "mime-types");
|
||||
|
||||
data = g_new0 (SubParserData, 1);
|
||||
data->string = g_string_new ("");
|
||||
data->type = PARSE_MIME_TYPES;
|
||||
@ -453,6 +455,8 @@ gtk_file_filter_buildable_custom_tag_start (GtkBuildable *buildable,
|
||||
}
|
||||
else if (strcmp (tagname, "patterns") == 0)
|
||||
{
|
||||
gtk_buildable_tag_deprecation_warning (buildable,builder, "patterns", "patterns");
|
||||
|
||||
data = g_new0 (SubParserData, 1);
|
||||
data->string = g_string_new ("");
|
||||
data->type = PARSE_PATTERNS;
|
||||
@ -464,6 +468,8 @@ gtk_file_filter_buildable_custom_tag_start (GtkBuildable *buildable,
|
||||
}
|
||||
else if (strcmp (tagname, "suffixes") == 0)
|
||||
{
|
||||
gtk_buildable_tag_deprecation_warning (buildable,builder, "suffixes", "suffixes");
|
||||
|
||||
data = g_new0 (SubParserData, 1);
|
||||
data->string = g_string_new ("");
|
||||
data->type = PARSE_SUFFIXES;
|
||||
|
Loading…
Reference in New Issue
Block a user