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 /mail | |
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 'mail')
-rw-r--r-- | mail/em-folder-tree.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index 86a0bda6d6..94d5061866 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -1164,14 +1164,15 @@ folder_tree_class_init (EMFolderTreeClass *class) G_TYPE_NONE, 1, GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE); - signals[HIDDEN_KEY_EVENT] = - g_signal_new ("hidden-key-event", - G_OBJECT_CLASS_TYPE (object_class), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (EMFolderTreeClass, hidden_key_event), - NULL, NULL, - g_cclosure_marshal_VOID__BOXED, - G_TYPE_NONE, 1, GDK_TYPE_EVENT); + signals[HIDDEN_KEY_EVENT] = g_signal_new ( + "hidden-key-event", + G_OBJECT_CLASS_TYPE (object_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (EMFolderTreeClass, hidden_key_event), + NULL, NULL, + g_cclosure_marshal_VOID__BOXED, + G_TYPE_NONE, 1, + GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE); } static gboolean |