diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-02-25 03:06:09 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-02-25 03:19:20 +0800 |
commit | 1a4be6c521d674c4a60e54203521e2721b81b921 (patch) | |
tree | 3260ff2bf25a454f5fe42ae8dc056b8f6a6cc45c /widgets/table/e-tree.c | |
parent | fde6eab197d3e3c253d8479eb9bd1a377a426fa4 (diff) | |
download | gsoc2013-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-tree.c')
-rw-r--r-- | widgets/table/e-tree.c | 38 |
1 files changed, 27 insertions, 11 deletions
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c index b77bda8ef7..fd5340dcad 100644 --- a/widgets/table/e-tree.c +++ b/widgets/table/e-tree.c @@ -3323,8 +3323,11 @@ e_tree_class_init (ETreeClass *class) G_STRUCT_OFFSET (ETreeClass, double_click), NULL, NULL, e_marshal_NONE__INT_POINTER_INT_BOXED, - G_TYPE_NONE, 4, G_TYPE_INT, - G_TYPE_POINTER, G_TYPE_INT, GDK_TYPE_EVENT); + G_TYPE_NONE, 4, + G_TYPE_INT, + G_TYPE_POINTER, + G_TYPE_INT, + GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE); et_signals[RIGHT_CLICK] = g_signal_new ("right_click", @@ -3333,8 +3336,11 @@ e_tree_class_init (ETreeClass *class) G_STRUCT_OFFSET (ETreeClass, right_click), g_signal_accumulator_true_handled, NULL, e_marshal_BOOLEAN__INT_POINTER_INT_BOXED, - G_TYPE_BOOLEAN, 4, G_TYPE_INT, G_TYPE_POINTER, - G_TYPE_INT, GDK_TYPE_EVENT); + G_TYPE_BOOLEAN, 4, + G_TYPE_INT, + G_TYPE_POINTER, + G_TYPE_INT, + GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE); et_signals[CLICK] = g_signal_new ("click", @@ -3343,8 +3349,11 @@ e_tree_class_init (ETreeClass *class) G_STRUCT_OFFSET (ETreeClass, click), g_signal_accumulator_true_handled, NULL, e_marshal_BOOLEAN__INT_POINTER_INT_BOXED, - G_TYPE_BOOLEAN, 4, G_TYPE_INT, G_TYPE_POINTER, - G_TYPE_INT, GDK_TYPE_EVENT); + G_TYPE_BOOLEAN, 4, + G_TYPE_INT, + G_TYPE_POINTER, + G_TYPE_INT, + GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE); et_signals[KEY_PRESS] = g_signal_new ("key_press", @@ -3353,8 +3362,11 @@ e_tree_class_init (ETreeClass *class) G_STRUCT_OFFSET (ETreeClass, key_press), g_signal_accumulator_true_handled, NULL, e_marshal_BOOLEAN__INT_POINTER_INT_BOXED, - G_TYPE_BOOLEAN, 4, G_TYPE_INT, G_TYPE_POINTER, - G_TYPE_INT, GDK_TYPE_EVENT); + G_TYPE_BOOLEAN, 4, + G_TYPE_INT, + G_TYPE_POINTER, + G_TYPE_INT, + GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE); et_signals[START_DRAG] = g_signal_new ("start_drag", @@ -3363,8 +3375,11 @@ e_tree_class_init (ETreeClass *class) G_STRUCT_OFFSET (ETreeClass, start_drag), NULL, NULL, e_marshal_NONE__INT_POINTER_INT_BOXED, - G_TYPE_NONE, 4, G_TYPE_INT, G_TYPE_POINTER, - G_TYPE_INT, GDK_TYPE_EVENT); + G_TYPE_NONE, 4, + G_TYPE_INT, + G_TYPE_POINTER, + G_TYPE_INT, + GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE); et_signals[STATE_CHANGE] = g_signal_new ("state_change", @@ -3382,7 +3397,8 @@ e_tree_class_init (ETreeClass *class) G_STRUCT_OFFSET (ETreeClass, white_space_event), g_signal_accumulator_true_handled, NULL, e_marshal_BOOLEAN__POINTER, - G_TYPE_BOOLEAN, 1, GDK_TYPE_EVENT); + G_TYPE_BOOLEAN, 1, + GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE); et_signals[TREE_DRAG_BEGIN] = g_signal_new ("tree_drag_begin", |