[gtkmm/gtkmm-3-22] convert_gtk.m4: Remove redundant conversions



commit 5ac00d10da7813574da0db1b116f9e0d19c9aa05
Author: Daniel Boles <dboles src gnome org>
Date:   Sat Jun 3 10:41:52 2017 +0100

    convert_gtk.m4: Remove redundant conversions
    
    These are already defined in convert_glib.m4, which is included as-is.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=783136

 tools/m4/convert_gtk.m4 |   38 --------------------------------------
 1 files changed, 0 insertions(+), 38 deletions(-)
---
diff --git a/tools/m4/convert_gtk.m4 b/tools/m4/convert_gtk.m4
index 1b95676..1be5bb9 100644
--- a/tools/m4/convert_gtk.m4
+++ b/tools/m4/convert_gtk.m4
@@ -19,48 +19,10 @@
 include(convert_glib.m4)
 
 #
-# Table of widgets
-#
-
-_EQUAL(gboolean,int)
-_EQUAL(gint,int)
-_EQUAL(gint*,int*)
-_EQUAL(gint&,int&)
-_EQUAL(guint,unsigned int)
-_EQUAL(guint*,unsigned int*)
-_EQUAL(guint&,unsigned int&)
-_EQUAL(gdouble,double)
-_EQUAL(gdouble*,double*)
-_EQUAL(gfloat, float)
-_EQUAL(float*,gfloat[])
-
-_EQUAL(GdkAtom,Gdk::Atom)
-_EQUAL(const-char*,const-gchar*)
-_EQUAL(return-char*,return-gchar*)
-_EQUAL(gpointer,void*)
-_EQUAL(gconstpointer,const void*)
-
-#
 # Basic Types
-_CONVERSION(`int',`bool',`$3')
-_CONVERSION(`bool',`int',`static_cast<int>($3)')
-_CONVERSION(`unsigned int',`bool',`$3')
-_CONVERSION(`bool',`unsigned int',`static_cast<unsigned int>($3)')
-_CONVERSION(`int&',`gint*',`&($3)')
-_CONVERSION(`gint*',`int&',`*($3)')
-_CONVERSION(`guint&',`guint*',`&($3)')
-_CONVERSION(`double&',`gdouble*',`&($3)')
-_CONVERSION(`float&',`gfloat*',`&($3)')
-_CONVERSION(`gchar**',`char**',`$3')
-_CONVERSION(`char**',`gchar**',`$3')
-_CONVERSION(`gpointer&',`gpointer*',`&($3)')
-_CONVERSION(`void*&',`gpointer*',`&($3)')
-
 _CONVERSION(`time_t&',`time_t*',`&($3)')
 _CONVERSION(`time_t',`std::time_t',`$3')
 
-_CONVERSION(`GError*&',`GError**',`&($3)')
-
 _CONVERSION(`ui_merge_id',`guint',`$3')
 _CONVERSION(`guint',`ui_merge_id',`$3')
 


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