diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-06-13 22:37:28 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-06-13 22:37:28 +0800 |
commit | c9bdd525e41cd0e2392da161dde2cf6aa72d8b4d (patch) | |
tree | f20b908b57e9c2a60dd24d3dab56e384458ed53a /e-util/e-util.c | |
parent | 799153001fa43ad0991c260c461b7bbc266daee9 (diff) | |
download | gsoc2013-evolution-c9bdd525e41cd0e2392da161dde2cf6aa72d8b4d.tar gsoc2013-evolution-c9bdd525e41cd0e2392da161dde2cf6aa72d8b4d.tar.gz gsoc2013-evolution-c9bdd525e41cd0e2392da161dde2cf6aa72d8b4d.tar.bz2 gsoc2013-evolution-c9bdd525e41cd0e2392da161dde2cf6aa72d8b4d.tar.lz gsoc2013-evolution-c9bdd525e41cd0e2392da161dde2cf6aa72d8b4d.tar.xz gsoc2013-evolution-c9bdd525e41cd0e2392da161dde2cf6aa72d8b4d.tar.zst gsoc2013-evolution-c9bdd525e41cd0e2392da161dde2cf6aa72d8b4d.zip |
Changed the needed e_marshal functions.
2000-06-13 Christopher James Lahey <clahey@helixcode.com>
* e-util.c, e-util.h: Changed the needed e_marshal functions.
* e-printable.c, e-printable.h: Added a quantize parameter to
e_printable_height. Also, added a e_printable_will_fit function.
svn path=/trunk/; revision=3551
Diffstat (limited to 'e-util/e-util.c')
-rw-r--r-- | e-util/e-util.c | 44 |
1 files changed, 35 insertions, 9 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c index a9c122eb74..6cb261410d 100644 --- a/e-util/e-util.c +++ b/e-util/e-util.c @@ -204,24 +204,50 @@ e_marshal_NONE__OBJECT_DOUBLE_DOUBLE_BOOL (GtkObject * object, func_data); } -typedef gdouble (*GtkSignal_DOUBLE__OBJECT_DOUBLE_DOUBLE) (GtkObject * object, - GtkObject *arg1, - gdouble arg2, - gdouble arg3, - gpointer user_data); +typedef gdouble (*GtkSignal_DOUBLE__OBJECT_DOUBLE_DOUBLE_BOOL) (GtkObject * object, + GtkObject *arg1, + gdouble arg2, + gdouble arg3, + gboolean arg4, + gpointer user_data); void -e_marshal_DOUBLE__OBJECT_DOUBLE_DOUBLE (GtkObject * object, +e_marshal_DOUBLE__OBJECT_DOUBLE_DOUBLE_BOOL (GtkObject * object, GtkSignalFunc func, gpointer func_data, GtkArg * args) { - GtkSignal_DOUBLE__OBJECT_DOUBLE_DOUBLE rfunc; + GtkSignal_DOUBLE__OBJECT_DOUBLE_DOUBLE_BOOL rfunc; gdouble *return_val; - return_val = GTK_RETLOC_DOUBLE (args[3]); - rfunc = (GtkSignal_DOUBLE__OBJECT_DOUBLE_DOUBLE) func; + return_val = GTK_RETLOC_DOUBLE (args[4]); + rfunc = (GtkSignal_DOUBLE__OBJECT_DOUBLE_DOUBLE_BOOL) func; *return_val = (*rfunc) (object, GTK_VALUE_OBJECT (args[0]), GTK_VALUE_DOUBLE (args[1]), GTK_VALUE_DOUBLE (args[2]), + GTK_VALUE_BOOL (args[3]), + func_data); +} + +typedef gdouble (*GtkSignal_BOOL__OBJECT_DOUBLE_DOUBLE_BOOL) (GtkObject * object, + GtkObject *arg1, + gdouble arg2, + gdouble arg3, + gboolean arg4, + gpointer user_data); + +void +e_marshal_BOOL__OBJECT_DOUBLE_DOUBLE_BOOL (GtkObject * object, + GtkSignalFunc func, + gpointer func_data, GtkArg * args) +{ + GtkSignal_BOOL__OBJECT_DOUBLE_DOUBLE_BOOL rfunc; + gboolean *return_val; + return_val = GTK_RETLOC_BOOL (args[4]); + rfunc = (GtkSignal_BOOL__OBJECT_DOUBLE_DOUBLE_BOOL) func; + *return_val = (*rfunc) (object, + GTK_VALUE_OBJECT (args[0]), + GTK_VALUE_DOUBLE (args[1]), + GTK_VALUE_DOUBLE (args[2]), + GTK_VALUE_BOOL (args[3]), func_data); } |