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



commit d30b481d58625f32442993f053bad490dbab2eda
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]