mirror of
https://github.com/flatpak/flatpak.git
synced 2026-04-05 07:33:44 -04:00
xml-utils: Don't expose symbols that don't need to be visble
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
@@ -33,8 +33,6 @@ struct FlatpakXml
|
||||
FlatpakXml *next_sibling;
|
||||
};
|
||||
|
||||
FlatpakXml *flatpak_xml_new (const gchar *element_name);
|
||||
FlatpakXml *flatpak_xml_new_text (const gchar *text);
|
||||
void flatpak_xml_add (FlatpakXml *parent,
|
||||
FlatpakXml *node);
|
||||
void flatpak_xml_free (FlatpakXml *node);
|
||||
@@ -42,8 +40,6 @@ FlatpakXml *flatpak_xml_parse (GInputStream * in,
|
||||
gboolean compressed,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
void flatpak_xml_to_string (FlatpakXml *node,
|
||||
GString *res);
|
||||
FlatpakXml *flatpak_xml_unlink (FlatpakXml *node,
|
||||
FlatpakXml *prev_sibling);
|
||||
FlatpakXml *flatpak_xml_find (FlatpakXml *node,
|
||||
|
||||
@@ -30,7 +30,7 @@ typedef struct
|
||||
FlatpakXml *current;
|
||||
} XmlData;
|
||||
|
||||
FlatpakXml *
|
||||
static FlatpakXml *
|
||||
flatpak_xml_new (const gchar *element_name)
|
||||
{
|
||||
FlatpakXml *node = g_new0 (FlatpakXml, 1);
|
||||
@@ -39,7 +39,7 @@ flatpak_xml_new (const gchar *element_name)
|
||||
return node;
|
||||
}
|
||||
|
||||
FlatpakXml *
|
||||
static FlatpakXml *
|
||||
flatpak_xml_new_text (const gchar *text)
|
||||
{
|
||||
FlatpakXml *node = g_new0 (FlatpakXml, 1);
|
||||
@@ -146,7 +146,7 @@ flatpak_xml_free (FlatpakXml *node)
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
static void
|
||||
flatpak_xml_to_string (FlatpakXml *node, GString *res)
|
||||
{
|
||||
int i;
|
||||
|
||||
Reference in New Issue
Block a user