aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-util.c-8611
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-06-11 05:13:07 +0800
committerChris Lahey <clahey@src.gnome.org>2000-06-11 05:13:07 +0800
commit5dc1015e9666ef59682c46e306ed3a4add0a9356 (patch)
tree7bc125bde4c0c8064d0bd9a4c9733b1faf15e5bd /e-util/e-util.c-8611
parent3976b6b155858f116261befc5aeb435de7e06c65 (diff)
downloadgsoc2013-evolution-5dc1015e9666ef59682c46e306ed3a4add0a9356.tar.gz
gsoc2013-evolution-5dc1015e9666ef59682c46e306ed3a4add0a9356.tar.zst
gsoc2013-evolution-5dc1015e9666ef59682c46e306ed3a4add0a9356.zip
Added e-printable.c and e-printable.h.
2000-06-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-printable.c and e-printable.h. * e-printable.c, e-printable.h: This new class is a printing context. Other classes return an EPrintable which represents a context for printing that object. * e-util.c, e-util.h: Added e_marshal_NONE__OBJECT_DOUBLE_DOUBLE_BOOL and e_marshal_DOUBLE__OBJECT_DOUBLE_DOUBLE. svn path=/trunk/; revision=3510
Diffstat (limited to 'e-util/e-util.c-8611')
-rw-r--r--e-util/e-util.c-861164
1 files changed, 55 insertions, 9 deletions
diff --git a/e-util/e-util.c-8611 b/e-util/e-util.c-8611
index 2571a0fbc3..a9c122eb74 100644
--- a/e-util/e-util.c-8611
+++ b/e-util/e-util.c-8611
@@ -160,22 +160,68 @@ e_write_file(const char *filename, const char *data, int flags)
return 0;
}
-typedef gint (*GtkSignal_NONE__INT_INT_POINTER) (GtkObject * object,
- gint arg1,
- gint arg2,
- gpointer arg3,
- gpointer user_data);
+typedef gint (*GtkSignal_INT__INT_INT_POINTER) (GtkObject * object,
+ gint arg1,
+ gint arg2,
+ gpointer arg3,
+ gpointer user_data);
void
e_marshal_INT__INT_INT_POINTER (GtkObject * object,
GtkSignalFunc func,
gpointer func_data, GtkArg * args)
{
- GtkSignal_NONE__INT_INT_POINTER rfunc;
+ GtkSignal_INT__INT_INT_POINTER rfunc;
gint *return_val;
return_val = GTK_RETLOC_INT (args[3]);
- rfunc = (GtkSignal_NONE__INT_INT_POINTER) func;
+ rfunc = (GtkSignal_INT__INT_INT_POINTER) func;
*return_val = (*rfunc) (object,
- GTK_VALUE_INT (args[0]),
- GTK_VALUE_INT (args[1]), GTK_VALUE_POINTER (args[2]), func_data);
+ GTK_VALUE_INT (args[0]),
+ GTK_VALUE_INT (args[1]),
+ GTK_VALUE_POINTER (args[2]),
+ func_data);
+}
+
+typedef void (*GtkSignal_NONE__OBJECT_DOUBLE_DOUBLE_BOOL) (GtkObject * object,
+ GtkObject *arg1,
+ gdouble arg2,
+ gdouble arg3,
+ gboolean arg4,
+ gpointer user_data);
+
+void
+e_marshal_NONE__OBJECT_DOUBLE_DOUBLE_BOOL (GtkObject * object,
+ GtkSignalFunc func,
+ gpointer func_data, GtkArg * args)
+{
+ GtkSignal_NONE__OBJECT_DOUBLE_DOUBLE_BOOL rfunc;
+ rfunc = (GtkSignal_NONE__OBJECT_DOUBLE_DOUBLE_BOOL) func;
+ (*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_DOUBLE__OBJECT_DOUBLE_DOUBLE) (GtkObject * object,
+ GtkObject *arg1,
+ gdouble arg2,
+ gdouble arg3,
+ gpointer user_data);
+
+void
+e_marshal_DOUBLE__OBJECT_DOUBLE_DOUBLE (GtkObject * object,
+ GtkSignalFunc func,
+ gpointer func_data, GtkArg * args)
+{
+ GtkSignal_DOUBLE__OBJECT_DOUBLE_DOUBLE rfunc;
+ gdouble *return_val;
+ return_val = GTK_RETLOC_DOUBLE (args[3]);
+ rfunc = (GtkSignal_DOUBLE__OBJECT_DOUBLE_DOUBLE) func;
+ *return_val = (*rfunc) (object,
+ GTK_VALUE_OBJECT (args[0]),
+ GTK_VALUE_DOUBLE (args[1]),
+ GTK_VALUE_DOUBLE (args[2]),
+ func_data);
}