gobject-introspection r480 - in trunk: . girepository
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r480 - in trunk: . girepository
- Date: Sun, 24 Aug 2008 10:43:03 +0000 (UTC)
Author: johan
Date: Sun Aug 24 10:43:02 2008
New Revision: 480
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=480&view=rev
Log:
2008-08-24  Johan Dahlin  <johan gnome org>
    * girepository/girparser.c (start_function):
    Remove left-over code, checking type of function.
Modified:
   trunk/ChangeLog
   trunk/girepository/girparser.c
Modified: trunk/girepository/girparser.c
==============================================================================
--- trunk/girepository/girparser.c	(original)
+++ trunk/girepository/girparser.c	Sun Aug 24 10:43:02 2008
@@ -551,12 +551,10 @@
       const gchar *name;
       const gchar *symbol;
       const gchar *deprecated;
-      const gchar *type;
       
       name = find_attribute ("name", attribute_names, attribute_values);
       symbol = find_attribute ("c:identifier", attribute_names, attribute_values);
       deprecated = find_attribute ("deprecated", attribute_names, attribute_values);
-      type = find_attribute ("type", attribute_names, attribute_values);
       
       if (name == NULL)
 	MISSING_ATTRIBUTE (context, error, element_name, "name");
@@ -581,11 +579,6 @@
 	    {
 	      function->is_method = TRUE;
 
-	      if (type && strcmp (type, "setter") == 0)
-		function->is_setter = TRUE;
-	      else if (type && strcmp (type, "getter") == 0)
-		function->is_getter = TRUE;		  
-
 	      if (strcmp (element_name, "constructor") == 0)
 		function->is_constructor = TRUE;
 	      else
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]