[devhelp/wip/swilmet/misc-improvements: 10/18] book: deprecate unused comparison functions



commit 00302c88fd508c2ea8174d310c53da6d0b5f7df6
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sun May 24 15:06:05 2015 +0200

    book: deprecate unused comparison functions
    
    They are not used in Devhelp, neither in Anjuta or gnome-builder.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=749797

 src/dh-book.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/dh-book.h b/src/dh-book.h
index 9d3fab9..e21b269 100644
--- a/src/dh-book.h
+++ b/src/dh-book.h
@@ -58,12 +58,18 @@ void         dh_book_set_enabled     (DhBook *book,
                                       gboolean enabled);
 gint         dh_book_cmp_by_path     (DhBook *a,
                                       DhBook *b);
+
+G_DEPRECATED
 gint         dh_book_cmp_by_path_str (DhBook *a,
                                       const gchar  *b_path);
+
 gint         dh_book_cmp_by_name     (DhBook *a,
                                       DhBook *b);
+
+G_DEPRECATED
 gint         dh_book_cmp_by_name_str (DhBook *a,
                                       const gchar  *b_name);
+
 gint         dh_book_cmp_by_title    (DhBook *a,
                                       DhBook *b);
 


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