devhelp r1097 - in trunk: . src



Author: rhult
Date: Fri Oct  3 11:43:59 2008
New Revision: 1097
URL: http://svn.gnome.org/viewvc/devhelp?rev=1097&view=rev

Log:
2008-10-03  Richard Hult  <richard imendio com>

	* src/dh-base.c: (book_sort_func): Use getters for link name.


Modified:
   trunk/ChangeLog
   trunk/src/dh-base.c

Modified: trunk/src/dh-base.c
==============================================================================
--- trunk/src/dh-base.c	(original)
+++ trunk/src/dh-base.c	Fri Oct  3 11:43:59 2008
@@ -131,18 +131,20 @@
 book_sort_func (gconstpointer a,
                 gconstpointer b)
 {
-        DhLink      *link_a, *link_b;
-        const gchar *name_a, *name_b;
+        DhLink      *link_a;
+        DhLink      *link_b;
+        const gchar *name_a;
+        const gchar *name_b;
 
         link_a = ((GNode *) a)->data;
         link_b = ((GNode *) b)->data;
 
-        name_a = link_a->name;
+        name_a = dh_link_get_name (link_a);
         if (!name_a) {
                 name_a = "";
         }
 
-        name_b = link_b->name;
+        name_b = dh_link_get_name (link_b);
         if (!name_b) {
                 name_b = "";
         }



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