[libgit2-glib] Fix documentation of ggit_repository_enumerate_branches



commit 6ffa440d05f9066fadc515e8795d6307c7512007
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Tue Jun 24 18:14:18 2014 +0200

    Fix documentation of ggit_repository_enumerate_branches

 libgit2-glib/ggit-repository.c |    4 ++--
 libgit2-glib/ggit-repository.h |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgit2-glib/ggit-repository.c b/libgit2-glib/ggit-repository.c
index d46a621..76c4fab 100644
--- a/libgit2-glib/ggit-repository.c
+++ b/libgit2-glib/ggit-repository.c
@@ -1504,9 +1504,9 @@ ggit_repository_create_branch (GgitRepository   *repository,
 }
 
 /**
- * ggit_repository_branches_foreach:
+ * ggit_repository_enumerate_branches:
  * @repository: a #GgitRepository.
- * @list_type: a GgitBranchType.
+ * @list_type: a #GgitBranchType.
  * @error: a #GError for error reporting, or %NULL.
  *
  * Get a branch enumerator to enumerate over all branches of the specified
diff --git a/libgit2-glib/ggit-repository.h b/libgit2-glib/ggit-repository.h
index 08f4667..48a87d1 100644
--- a/libgit2-glib/ggit-repository.h
+++ b/libgit2-glib/ggit-repository.h
@@ -217,7 +217,7 @@ GgitBranch         *ggit_repository_create_branch     (GgitRepository        *re
                                                        GError               **error);
 
 GgitBranchEnumerator *ggit_repository_enumerate_branches (GgitRepository        *repository,
-                                                          GgitBranchType         list_flags,
+                                                          GgitBranchType         list_type,
                                                           GError               **error);
 
 GgitBranch         *ggit_repository_lookup_branch     (GgitRepository        *repository,


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