From 9c5cceeeb803194ebc6ae450b038e4041c582afd Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 13 Feb 2002 13:03:48 +0000 Subject: New signal for when the width of the column changes. 2002-02-13 Christopher James Lahey * gal/widgets/e-reflow.c, gal/widgets/e-reflow.h (column_width_changed): New signal for when the width of the column changes. * gal/util/e-util.c, gal/util/e-util.h (e_marshal_NONE__DOUBLE): New marshaller. From gal/menus/ChangeLog: 2002-02-13 Christopher James Lahey * gal-view-etable.c (detach_table): Set view->table_state_changed_id to 0. (detach_tree): Set view->tree_state_changed_id to 0. svn path=/trunk/; revision=15705 --- e-util/e-util.c | 18 ++++++++++++++++++ e-util/e-util.h | 4 ++++ 2 files changed, 22 insertions(+) (limited to 'e-util') diff --git a/e-util/e-util.c b/e-util/e-util.c index 6d4b5e915a..2916a2d18b 100644 --- a/e-util/e-util.c +++ b/e-util/e-util.c @@ -816,6 +816,24 @@ e_marshal_INT__OBJECT_POINTER (GtkObject *object, func_data); } +typedef void (*GtkSignal_NONE__DOUBLE) (GtkObject *, + gdouble, + gpointer user_data); +void +e_marshal_NONE__DOUBLE (GtkObject *object, + GtkSignalFunc func, + gpointer func_data, + GtkArg *args) +{ + GtkSignal_NONE__DOUBLE rfunc; + + rfunc = (GtkSignal_NONE__DOUBLE) func; + + (*rfunc) (object, + GTK_VALUE_DOUBLE (args[0]), + func_data); +} + gchar** e_strsplit (const gchar *string, const gchar *delimiter, diff --git a/e-util/e-util.h b/e-util/e-util.h index 623300f8a1..37b9a75b9f 100644 --- a/e-util/e-util.h +++ b/e-util/e-util.h @@ -273,6 +273,10 @@ void e_marshal_INT__OBJECT_POINTER (GtkO GtkSignalFunc func, gpointer func_data, GtkArg *args); +void e_marshal_NONE__DOUBLE (GtkObject *object, + GtkSignalFunc func, + gpointer func_data, + GtkArg *args); #ifdef __cplusplus -- cgit v1.2.3