[devhelp] Sidebar: better create the link-selected signal
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] Sidebar: better create the link-selected signal
- Date: Sat, 29 Apr 2017 16:59:03 +0000 (UTC)
commit df9e174408ef7075b9733c046d189c4e62c52fb4
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Apr 29 18:52:37 2017 +0200
Sidebar: better create the link-selected signal
Provide a more precise type, and use standard name.
src/dh-sidebar.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/dh-sidebar.c b/src/dh-sidebar.c
index 080c9f9..79399a3 100644
--- a/src/dh-sidebar.c
+++ b/src/dh-sidebar.c
@@ -707,11 +707,11 @@ dh_sidebar_class_init (DhSidebarClass *klass)
* @link: the selected #DhLink.
*/
signals[LINK_SELECTED] =
- g_signal_new ("link_selected",
+ g_signal_new ("link-selected",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (DhSidebarClass, link_selected),
NULL, NULL, NULL,
G_TYPE_NONE,
- 1, G_TYPE_POINTER);
+ 1, DH_TYPE_LINK);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]