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



commit e01dee096d50a4a847bd011f21b015c4391ee9e5
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.

 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]