[devhelp/wip/tintou/more-annotations: 2/2] Fix documentation warnings by having the same parameters name in haerds



commit d552f8b1bf230871b596e94f93d6e52186c0d2f3
Author: Corentin Noël <corentin elementary io>
Date:   Sun Oct 30 02:47:25 2016 +0200

    Fix documentation warnings by having the same parameters name in haerds
    
    https://bugzilla.gnome.org/show_bug.cgi?id=770785

 src/dh-app.h           |   16 ++++++++--------
 src/dh-book-tree.h     |    2 +-
 src/dh-keyword-model.h |    2 +-
 src/dh-sidebar.h       |    8 ++++----
 4 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/src/dh-app.h b/src/dh-app.h
index 9280f65..bd7c88d 100644
--- a/src/dh-app.h
+++ b/src/dh-app.h
@@ -47,17 +47,17 @@ GType dh_app_get_type (void) G_GNUC_CONST;
 
 DhApp         *dh_app_new               (void);
 
-DhBookManager *dh_app_peek_book_manager (DhApp *self);
-GtkWindow     *dh_app_peek_first_window (DhApp *self);
-GtkWindow     *dh_app_peek_assistant    (DhApp *self);
+DhBookManager *dh_app_peek_book_manager (DhApp *app);
+GtkWindow     *dh_app_peek_first_window (DhApp *app);
+GtkWindow     *dh_app_peek_assistant    (DhApp *app);
 
-void           dh_app_new_window        (DhApp *self);
-void           dh_app_quit              (DhApp *self);
-void           dh_app_search            (DhApp *self,
+void           dh_app_new_window        (DhApp *app);
+void           dh_app_quit              (DhApp *app);
+void           dh_app_search            (DhApp *app,
                                          const gchar *keyword);
-void           dh_app_search_assistant  (DhApp *self,
+void           dh_app_search_assistant  (DhApp *app,
                                          const gchar *keyword);
-void           dh_app_raise             (DhApp *self);
+void           dh_app_raise             (DhApp *app);
 
 gboolean      _dh_app_has_app_menu      (DhApp *app);
 
diff --git a/src/dh-book-tree.h b/src/dh-book-tree.h
index 1c13b60..e4cc4d2 100644
--- a/src/dh-book-tree.h
+++ b/src/dh-book-tree.h
@@ -44,7 +44,7 @@ struct _DhBookTreeClass {
 
 GType        dh_book_tree_get_type          (void) G_GNUC_CONST;
 GtkWidget *  dh_book_tree_new               (DhBookManager *book_manager);
-void         dh_book_tree_select_uri        (DhBookTree    *book_tree,
+void         dh_book_tree_select_uri        (DhBookTree    *tree,
                                              const gchar   *uri);
 DhLink      *dh_book_tree_get_selected_book (DhBookTree    *tree);
 
diff --git a/src/dh-keyword-model.h b/src/dh-keyword-model.h
index fc18e33..07f1949 100644
--- a/src/dh-keyword-model.h
+++ b/src/dh-keyword-model.h
@@ -58,7 +58,7 @@ DhKeywordModel *dh_keyword_model_new       (void);
 void            dh_keyword_model_set_words (DhKeywordModel *model,
                                             DhBookManager  *book_manager);
 DhLink *        dh_keyword_model_filter    (DhKeywordModel *model,
-                                            const gchar    *string,
+                                            const gchar    *search_string,
                                             const gchar    *book_id,
                                             const gchar    *language);
 
diff --git a/src/dh-sidebar.h b/src/dh-sidebar.h
index fb0bcc5..e52706b 100644
--- a/src/dh-sidebar.h
+++ b/src/dh-sidebar.h
@@ -56,12 +56,12 @@ struct _DhSidebarClass {
 GType      dh_sidebar_get_type (void);
 GtkWidget *dh_sidebar_new      (DhBookManager *book_manager);
 
-DhLink    *dh_sidebar_get_selected_book (DhSidebar *self);
-void       dh_sidebar_select_uri        (DhSidebar   *self,
+DhLink    *dh_sidebar_get_selected_book (DhSidebar *sidebar);
+void       dh_sidebar_select_uri        (DhSidebar   *sidebar,
                                          const gchar *uri);
-void       dh_sidebar_set_search_string (DhSidebar   *self,
+void       dh_sidebar_set_search_string (DhSidebar   *sidebar,
                                          const gchar *str);
-void       dh_sidebar_set_search_focus  (DhSidebar   *self);
+void       dh_sidebar_set_search_focus  (DhSidebar   *sidebar);
 
 G_END_DECLS
 


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