aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2007-09-28 04:08:55 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-09-28 04:08:55 +0800
commite2e5e8d754f24a9f5c1ed0434c83dcd486a356eb (patch)
tree1b85999b0475986f41f1f27abbd24d4a89dead3f /widgets/table
parent37c142d956ca60725b1e989e95860e185156f5e9 (diff)
downloadgsoc2013-evolution-e2e5e8d754f24a9f5c1ed0434c83dcd486a356eb.tar.gz
gsoc2013-evolution-e2e5e8d754f24a9f5c1ed0434c83dcd486a356eb.tar.zst
gsoc2013-evolution-e2e5e8d754f24a9f5c1ed0434c83dcd486a356eb.zip
Fix for bug #461195 from Hiroyuki Ikezoe.
Use GObject's marshalers whenever possible. svn path=/trunk/; revision=34324
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/ChangeLog11
-rw-r--r--widgets/table/e-table-click-to-add.c2
-rw-r--r--widgets/table/e-table-group.c4
-rw-r--r--widgets/table/e-table-header-item.c2
-rw-r--r--widgets/table/e-table-item.c6
-rw-r--r--widgets/table/e-table.c8
-rw-r--r--widgets/table/e-tree.c4
7 files changed, 24 insertions, 13 deletions
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog
index 267662c979..83b5b455da 100644
--- a/widgets/table/ChangeLog
+++ b/widgets/table/ChangeLog
@@ -1,3 +1,14 @@
+2007-09-27 Hiroyuki Ikezoe <poincare@ikezoe.net>
+
+ ** Fix for bug #461195
+
+ * e-table-header-item.c:
+ * e-table-item.c:
+ * e-tree.c:
+ * e-table-click-to-add.c:
+ * e-table.c:
+ * e-table-group.c: Use GObject's marshalers.
+
2007-09-27 Milan Crha <mcrha@redhat.com>
** Fix for bug #478871
diff --git a/widgets/table/e-table-click-to-add.c b/widgets/table/e-table-click-to-add.c
index 2ae00894cb..0ebca14447 100644
--- a/widgets/table/e-table-click-to-add.c
+++ b/widgets/table/e-table-click-to-add.c
@@ -538,7 +538,7 @@ etcta_class_init (ETableClickToAddClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ETableClickToAddClass, style_set),
NULL, NULL,
- e_util_marshal_NONE__OBJECT,
+ g_cclosure_marshal_VOID__OBJECT,
G_TYPE_NONE, 1, GTK_TYPE_STYLE);
gal_a11y_e_table_click_to_add_init ();
diff --git a/widgets/table/e-table-group.c b/widgets/table/e-table-group.c
index 43e68c8bbb..ff2d0c15f5 100644
--- a/widgets/table/e-table-group.c
+++ b/widgets/table/e-table-group.c
@@ -647,7 +647,7 @@ etg_class_init (ETableGroupClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ETableGroupClass, cursor_change),
NULL, NULL,
- e_util_marshal_NONE__INT,
+ g_cclosure_marshal_VOID__INT,
G_TYPE_NONE, 1, G_TYPE_INT);
etg_signals [CURSOR_ACTIVATED] =
@@ -656,7 +656,7 @@ etg_class_init (ETableGroupClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ETableGroupClass, cursor_activated),
NULL, NULL,
- e_util_marshal_NONE__INT,
+ g_cclosure_marshal_VOID__INT,
G_TYPE_NONE, 1, G_TYPE_INT);
etg_signals [DOUBLE_CLICK] =
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index 3b2adf3280..45e1ee0ba4 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -1937,7 +1937,7 @@ ethi_class_init (ETableHeaderItemClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ETableHeaderItemClass, button_pressed),
NULL, NULL,
- e_util_marshal_NONE__BOXED,
+ g_cclosure_marshal_VOID__BOXED,
G_TYPE_NONE, 1, GDK_TYPE_EVENT);
}
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index 8226707ca3..4c06d3eee6 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -3049,7 +3049,7 @@ eti_class_init (ETableItemClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ETableItemClass, cursor_change),
NULL, NULL,
- e_util_marshal_NONE__INT,
+ g_cclosure_marshal_VOID__INT,
G_TYPE_NONE, 1, G_TYPE_INT);
eti_signals [CURSOR_ACTIVATED] =
@@ -3058,7 +3058,7 @@ eti_class_init (ETableItemClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ETableItemClass, cursor_activated),
NULL, NULL,
- e_util_marshal_NONE__INT,
+ g_cclosure_marshal_VOID__INT,
G_TYPE_NONE, 1, G_TYPE_INT);
eti_signals [DOUBLE_CLICK] =
@@ -3117,7 +3117,7 @@ eti_class_init (ETableItemClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ETableItemClass, style_set),
NULL, NULL,
- e_util_marshal_NONE__OBJECT,
+ g_cclosure_marshal_VOID__OBJECT,
G_TYPE_NONE, 1, GTK_TYPE_STYLE);
eti_signals[SELECTION_MODEL_REMOVED] =
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 3895170e0e..dfb15bf073 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -3099,7 +3099,7 @@ e_table_class_init (ETableClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ETableClass, cursor_change),
NULL, NULL,
- e_util_marshal_NONE__INT,
+ g_cclosure_marshal_VOID__INT,
G_TYPE_NONE, 1, G_TYPE_INT);
et_signals [CURSOR_ACTIVATED] =
@@ -3108,7 +3108,7 @@ e_table_class_init (ETableClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ETableClass, cursor_activated),
NULL, NULL,
- e_util_marshal_NONE__INT,
+ g_cclosure_marshal_VOID__INT,
G_TYPE_NONE, 1, G_TYPE_INT);
et_signals [SELECTION_CHANGE] =
@@ -3117,7 +3117,7 @@ e_table_class_init (ETableClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ETableClass, selection_change),
NULL, NULL,
- e_util_marshal_NONE__NONE,
+ g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
et_signals [DOUBLE_CLICK] =
@@ -3176,7 +3176,7 @@ e_table_class_init (ETableClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ETableClass, state_change),
NULL, NULL,
- e_util_marshal_NONE__NONE,
+ g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
et_signals [WHITE_SPACE_EVENT] =
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index 7c4ca8ad6b..24ee33ff73 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -3100,7 +3100,7 @@ e_tree_class_init (ETreeClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ETreeClass, selection_change),
NULL, NULL,
- e_util_marshal_NONE__NONE,
+ g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
et_signals [DOUBLE_CLICK] =
@@ -3159,7 +3159,7 @@ e_tree_class_init (ETreeClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ETreeClass, state_change),
NULL, NULL,
- e_util_marshal_NONE__NONE,
+ g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
et_signals [WHITE_SPACE_EVENT] =