aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-02-25 03:06:09 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-02-25 03:19:20 +0800
commit1a4be6c521d674c4a60e54203521e2721b81b921 (patch)
tree3260ff2bf25a454f5fe42ae8dc056b8f6a6cc45c /widgets/table/e-table.c
parentfde6eab197d3e3c253d8479eb9bd1a377a426fa4 (diff)
downloadgsoc2013-evolution-1a4be6c521d674c4a60e54203521e2721b81b921.tar.gz
gsoc2013-evolution-1a4be6c521d674c4a60e54203521e2721b81b921.tar.zst
gsoc2013-evolution-1a4be6c521d674c4a60e54203521e2721b81b921.zip
Use G_SIGNAL_TYPE_STATIC_SCOPE for all GdkEvent signal params.
I thought this might be the cause of bug #643089. Turns out it wasn't, but it's a good thing to do anyway.
Diffstat (limited to 'widgets/table/e-table.c')
-rw-r--r--widgets/table/e-table.c33
1 files changed, 22 insertions, 11 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index c7e955efba..70b973c5b3 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -3329,8 +3329,10 @@ e_table_class_init (ETableClass *class)
G_STRUCT_OFFSET (ETableClass, double_click),
NULL, NULL,
e_marshal_NONE__INT_INT_BOXED,
- G_TYPE_NONE, 3, G_TYPE_INT,
- G_TYPE_INT, GDK_TYPE_EVENT);
+ G_TYPE_NONE, 3,
+ G_TYPE_INT,
+ G_TYPE_INT,
+ GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE);
et_signals[RIGHT_CLICK] =
g_signal_new ("right_click",
@@ -3339,8 +3341,10 @@ e_table_class_init (ETableClass *class)
G_STRUCT_OFFSET (ETableClass, right_click),
g_signal_accumulator_true_handled, NULL,
e_marshal_BOOLEAN__INT_INT_BOXED,
- G_TYPE_BOOLEAN, 3, G_TYPE_INT,
- G_TYPE_INT, GDK_TYPE_EVENT);
+ G_TYPE_BOOLEAN, 3,
+ G_TYPE_INT,
+ G_TYPE_INT,
+ GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE);
et_signals[CLICK] =
g_signal_new ("click",
@@ -3349,8 +3353,10 @@ e_table_class_init (ETableClass *class)
G_STRUCT_OFFSET (ETableClass, click),
g_signal_accumulator_true_handled, NULL,
e_marshal_BOOLEAN__INT_INT_BOXED,
- G_TYPE_BOOLEAN, 3, G_TYPE_INT,
- G_TYPE_INT, GDK_TYPE_EVENT);
+ G_TYPE_BOOLEAN, 3,
+ G_TYPE_INT,
+ G_TYPE_INT,
+ GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE);
et_signals[KEY_PRESS] =
g_signal_new ("key_press",
@@ -3359,8 +3365,10 @@ e_table_class_init (ETableClass *class)
G_STRUCT_OFFSET (ETableClass, key_press),
g_signal_accumulator_true_handled, NULL,
e_marshal_BOOLEAN__INT_INT_BOXED,
- G_TYPE_BOOLEAN, 3, G_TYPE_INT,
- G_TYPE_INT, GDK_TYPE_EVENT);
+ G_TYPE_BOOLEAN, 3,
+ G_TYPE_INT,
+ G_TYPE_INT,
+ GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE);
et_signals[START_DRAG] =
g_signal_new ("start_drag",
@@ -3369,8 +3377,10 @@ e_table_class_init (ETableClass *class)
G_STRUCT_OFFSET (ETableClass, start_drag),
g_signal_accumulator_true_handled, NULL,
e_marshal_BOOLEAN__INT_INT_BOXED,
- G_TYPE_BOOLEAN, 3, G_TYPE_INT,
- G_TYPE_INT, GDK_TYPE_EVENT);
+ G_TYPE_BOOLEAN, 3,
+ G_TYPE_INT,
+ G_TYPE_INT,
+ GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE);
et_signals[STATE_CHANGE] =
g_signal_new ("state_change",
@@ -3388,7 +3398,8 @@ e_table_class_init (ETableClass *class)
G_STRUCT_OFFSET (ETableClass, white_space_event),
g_signal_accumulator_true_handled, NULL,
e_marshal_BOOLEAN__BOXED,
- G_TYPE_BOOLEAN, 1, GDK_TYPE_EVENT);
+ G_TYPE_BOOLEAN, 1,
+ GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE);
et_signals[TABLE_DRAG_BEGIN] =
g_signal_new ("table_drag_begin",