aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@novell.com>2006-06-08 00:11:11 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2006-06-08 00:11:11 +0800
commit9d445543cf09e7e73ed2f379e064140c21f60500 (patch)
tree5fce2e307d483532ec127101d2585ce10e720315 /widgets/misc
parent391152c342c79282d62ea5149efa11274c6d85a8 (diff)
downloadgsoc2013-evolution-9d445543cf09e7e73ed2f379e064140c21f60500.tar
gsoc2013-evolution-9d445543cf09e7e73ed2f379e064140c21f60500.tar.gz
gsoc2013-evolution-9d445543cf09e7e73ed2f379e064140c21f60500.tar.bz2
gsoc2013-evolution-9d445543cf09e7e73ed2f379e064140c21f60500.tar.lz
gsoc2013-evolution-9d445543cf09e7e73ed2f379e064140c21f60500.tar.xz
gsoc2013-evolution-9d445543cf09e7e73ed2f379e064140c21f60500.tar.zst
gsoc2013-evolution-9d445543cf09e7e73ed2f379e064140c21f60500.zip
Don't use gtk_signal_new() for the set_scroll_adjustments signal, and use
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. svn path=/trunk/; revision=32091
Diffstat (limited to 'widgets/misc')
-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;