diff options
Diffstat (limited to 'gtk/src/appcast.c')
-rw-r--r-- | gtk/src/appcast.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/gtk/src/appcast.c b/gtk/src/appcast.c index b89530d71..d3a9acf03 100644 --- a/gtk/src/appcast.c +++ b/gtk/src/appcast.c @@ -2,9 +2,9 @@ /* * appcast.c * Copyright (C) John Stebbins 2008-2013 <stebbins@stebbins> - * + * * appcast.c is free software. - * + * * You may redistribute it and/or modify it under the terms of the * GNU General Public License, as published by the Free Software * Foundation; either version 2 of the License, or (at your option) @@ -55,8 +55,8 @@ typedef struct static const gchar* lookup_attr_value( - const gchar *name, - const gchar **attr_names, + const gchar *name, + const gchar **attr_names, const gchar **attr_values) { gint ii; @@ -69,18 +69,18 @@ lookup_attr_value( } return NULL; } - + static void start_element( - GMarkupParseContext *ctx, - const gchar *tag, + GMarkupParseContext *ctx, + const gchar *tag, const gchar **attr_names, const gchar **attr_values, gpointer ud, GError **error) { parse_data_t *pd = (parse_data_t*)ud; - union + union { gint id; gpointer pid; @@ -124,14 +124,14 @@ start_element( static void end_element( - GMarkupParseContext *ctx, - const gchar *tag, + GMarkupParseContext *ctx, + const gchar *tag, gpointer ud, GError **error) { parse_data_t *pd = (parse_data_t*)ud; gint id; - union + union { gint id; gpointer pid; @@ -169,14 +169,14 @@ end_element( static void text_data( - GMarkupParseContext *ctx, - const gchar *text, + GMarkupParseContext *ctx, + const gchar *text, gsize len, gpointer ud, GError **error) { parse_data_t *pd = (parse_data_t*)ud; - union + union { gint id; gpointer pid; @@ -202,8 +202,8 @@ text_data( static void passthrough( - GMarkupParseContext *ctx, - const gchar *text, + GMarkupParseContext *ctx, + const gchar *text, gsize len, gpointer ud, GError **error) @@ -220,7 +220,7 @@ parse_error(GMarkupParseContext *ctx, GError *error, gpointer ud) } // This is required or the parser crashes -static void +static void destroy_notify(gpointer data) { // Do nothing //g_debug("destroy parser"); |