diff options
author | Ross Burton <ross@linux.intel.com> | 2010-04-13 16:55:33 +0100 |
---|---|---|
committer | Ross Burton <ross@linux.intel.com> | 2010-04-13 16:55:33 +0100 |
commit | 067d537e4d8f0e55b7bbd12923e6ec3144bea632 (patch) | |
tree | 89f0149829b04c9f480b5ec2dca85143fb95ee90 | |
parent | b8a0318f0d0cc2c9c279b11af0c189ce96342792 (diff) | |
download | librest-067d537e4d8f0e55b7bbd12923e6ec3144bea632.tar.gz |
rest-xml-parser: Remove redundant GObject methods
-rw-r--r-- | rest/rest-xml-parser.c | 40 |
1 files changed, 0 insertions, 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 @@ -30,48 +30,8 @@ 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 |