From 067d537e4d8f0e55b7bbd12923e6ec3144bea632 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 13 Apr 2010 16:55:33 +0100 Subject: rest-xml-parser: Remove redundant GObject methods --- rest/rest-xml-parser.c | 40 ---------------------------------------- 1 file changed, 40 deletions(-) diff --git a/rest/rest-xml-parser.c b/rest/rest-xml-parser.c index b345bdd..db6a748 100644 --- a/rest/rest-xml-parser.c +++ b/rest/rest-xml-parser.c @@ -29,49 +29,9 @@ G_DEFINE_TYPE (RestXmlParser, rest_xml_parser, G_TYPE_OBJECT) #define G(x) (gchar *)x -static void -rest_xml_parser_get_property (GObject *object, guint property_id, - GValue *value, GParamSpec *pspec) -{ - switch (property_id) { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); - } -} - -static void -rest_xml_parser_set_property (GObject *object, guint property_id, - const GValue *value, GParamSpec *pspec) -{ - switch (property_id) { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); - } -} - -static void -rest_xml_parser_dispose (GObject *object) -{ - if (G_OBJECT_CLASS (rest_xml_parser_parent_class)->dispose) - G_OBJECT_CLASS (rest_xml_parser_parent_class)->dispose (object); -} - -static void -rest_xml_parser_finalize (GObject *object) -{ - if (G_OBJECT_CLASS (rest_xml_parser_parent_class)->finalize) - G_OBJECT_CLASS (rest_xml_parser_parent_class)->finalize (object); -} - static void rest_xml_parser_class_init (RestXmlParserClass *klass) { - GObjectClass *object_class = G_OBJECT_CLASS (klass); - - object_class->get_property = rest_xml_parser_get_property; - object_class->set_property = rest_xml_parser_set_property; - object_class->dispose = rest_xml_parser_dispose; - object_class->finalize = rest_xml_parser_finalize; } static void -- cgit v1.2.1