[glibmm] Clean up glib_functions.defs.



commit eceba86c5d4d50e753b5efa90626f85690eb555b
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Jun 22 09:50:02 2010 +0200

    Clean up glib_functions.defs.
    
    * glib/src/glib_functions.defs: Remove bad definitions of function-pointers
        that cause annoying warnings during the build.

 ChangeLog                    |   11 +++++++++--
 glib/src/glib_functions.defs |   20 +++++---------------
 2 files changed, 14 insertions(+), 17 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f59aea0..8e448b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-06-22  Murray Cumming  <murrayc murrayc com>
+
+    Clean up glib_functions.defs.
+
+	* glib/src/glib_functions.defs: Remove bad definitions of function-pointers
+    that cause annoying warnings during the build.
+
 2010-06-19  José Alburquerque  <jaalburqu svn gnome org>
 
 	Glib::Variant<>: Use gmmproc files so wrapping is not done manually.
@@ -19,9 +26,9 @@
 
 	Restore lost #else block to fix build without __STDC_ISO_10646__
 
-	* glib/glibmm/ustring.cc: Add back an #else block that was probably lost 
+	* glib/glibmm/ustring.cc: Add back an #else block that was probably lost
 	while automatically removing the no-exceptions #if/#else code.
-	
+
 2010-06-18  José Alburquerque  <jaalburqu svn gnome org>
 
 	Preliminary implementation of Glib::Variant<> classes.
diff --git a/glib/src/glib_functions.defs b/glib/src/glib_functions.defs
index 9897832..da46ce4 100644
--- a/glib/src/glib_functions.defs
+++ b/glib/src/glib_functions.defs
@@ -2324,7 +2324,7 @@
   )
 )
 
-(define-method 
+(define-method
   (of-object "GIConv")
   (c-name "g_iconv")
   (return-type "gsize")
@@ -9724,7 +9724,7 @@
   (return-type "none")
   (parameters
     '("const-char*" "testpath")
-    '("void-(*" "test_func")
+    '("somefunc" "test_func")
   )
 )
 
@@ -9734,7 +9734,7 @@
   (parameters
     '("const-char*" "testpath")
     '("gconstpointer" "test_data")
-    '("void-(*" "test_func")
+    '("somefunc" "test_func")
   )
 )
 
@@ -9849,7 +9849,7 @@
     '("const-char*" "test_name")
     '("gsize" "data_size")
     '("gconstpointer" "test_data")
-    '("void-(*" "data_setup")
+    '("somefunc" "data_setup")
   )
 )
 
@@ -9982,7 +9982,7 @@
     '("const-char*" "testpath")
     '("gsize" "data_size")
     '("gconstpointer" "test_data")
-    '("void-(*" "data_setup")
+    '("somefunc" "data_setup")
   )
 )
 
@@ -11387,14 +11387,6 @@
   )
 )
 
-(define-function atexit
-  (c-name "atexit")
-  (return-type "int")
-  (parameters
-    '("void" "(*")
-  )
-)
-
 (define-function g_find_program_in_path
   (c-name "g_find_program_in_path")
   (return-type "gchar*")
@@ -12576,5 +12568,3 @@
     '("const-gchar*" "utf8filename")
   )
 )
-
-



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]