aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/misc/ChangeLog6
-rw-r--r--widgets/misc/e-map.c18
2 files changed, 16 insertions, 8 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 3bb4ebf787..c51b322856 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,9 @@
+2006-06-07 Federico Mena Quintero <federico@novell.com>
+
+ * e-map.c (e_map_class_init): Don't use gtk_signal_new() for the
+ set_scroll_adjustments signal, and use the correct marshaler.
+ Fixes bug #331743.
+
2006-06-02 Hiroyuki Ikezoe <poincare@ikezoe.net>
** Fixes bug 343494
diff --git a/widgets/misc/e-map.c b/widgets/misc/e-map.c
index 6a2980430b..24639a068c 100644
--- a/widgets/misc/e-map.c
+++ b/widgets/misc/e-map.c
@@ -30,6 +30,7 @@
#include <libgnome/gnome-i18n.h>
#include "e-util/e-util-private.h"
+#include "e-util/e-util.h"
#include "e-map.h"
@@ -177,14 +178,15 @@ e_map_class_init (EMapClass *class)
object_class->destroy = e_map_destroy;
class->set_scroll_adjustments = e_map_set_scroll_adjustments;
- widget_class->set_scroll_adjustments_signal = gtk_signal_new ("set_scroll_adjustments",
- GTK_RUN_LAST,
- GTK_CLASS_TYPE (object_class),
- G_STRUCT_OFFSET (EMapClass, set_scroll_adjustments),
- gtk_marshal_NONE__POINTER_POINTER,
- GTK_TYPE_NONE, 2,
- GTK_TYPE_ADJUSTMENT,
- GTK_TYPE_ADJUSTMENT);
+ widget_class->set_scroll_adjustments_signal = g_signal_new ("set_scroll_adjustments",
+ G_OBJECT_CLASS_TYPE (gobject_class),
+ G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
+ G_STRUCT_OFFSET (EMapClass, set_scroll_adjustments),
+ NULL, NULL,
+ e_util_marshal_NONE__OBJECT_OBJECT,
+ G_TYPE_NONE, 2,
+ GTK_TYPE_ADJUSTMENT,
+ GTK_TYPE_ADJUSTMENT);
widget_class->unmap = e_map_unmap;
widget_class->realize = e_map_realize;