[devhelp] Sidebar: small code simplification



commit f7644e70309df8471194f5d2c9add3069d366185
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Jan 5 12:45:08 2018 +0100

    Sidebar: small code simplification

 src/dh-sidebar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/dh-sidebar.c b/src/dh-sidebar.c
index 344dcda..3500ad0 100644
--- a/src/dh-sidebar.c
+++ b/src/dh-sidebar.c
@@ -479,7 +479,7 @@ hitlist_cell_data_func (GtkTreeViewColumn *tree_column,
             link_type == DH_LINK_TYPE_SIGNAL) {
                 name = g_markup_printf_escaped ("%s <i><small><span 
weight=\"normal\">(%s)</span></small></i>",
                                                 dh_link_get_name (link),
-                                                dh_link_type_to_string (dh_link_get_link_type (link)));
+                                                dh_link_type_to_string (link_type));
         } else {
                 name = g_markup_printf_escaped ("%s", dh_link_get_name (link));
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]