[libgit2-glib] Fix some copy/paste documentation typos
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] Fix some copy/paste documentation typos
- Date: Mon, 25 Nov 2013 11:51:36 +0000 (UTC)
commit 4346e72f1350b405886acf7ea588fe8c681c17b2
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Mon Nov 25 12:50:18 2013 +0100
Fix some copy/paste documentation typos
libgit2-glib/ggit-diff.c | 4 ++--
libgit2-glib/ggit-diff.h | 2 +-
libgit2-glib/ggit-patch.c | 6 +++---
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libgit2-glib/ggit-diff.c b/libgit2-glib/ggit-diff.c
index 2966987..7580d8b 100644
--- a/libgit2-glib/ggit-diff.c
+++ b/libgit2-glib/ggit-diff.c
@@ -1,5 +1,5 @@
/*
- * ggit-list.c
+ * ggit-diff.c
* This file is part of libgit2-glib
*
* Copyright (C) 2012 - Garrett Regier
@@ -445,7 +445,7 @@ ggit_diff_print (GgitDiff *diff,
* ggit_diff_get_num_deltas:
* @diff: a #GgitDiff.
*
- * Get the number of deltas in the diff list.
+ * Get the number of deltas in the diff.
*
* Returns: the number of deltas.
*
diff --git a/libgit2-glib/ggit-diff.h b/libgit2-glib/ggit-diff.h
index 17d7c27..169a494 100644
--- a/libgit2-glib/ggit-diff.h
+++ b/libgit2-glib/ggit-diff.h
@@ -1,5 +1,5 @@
/*
- * ggit-list.h
+ * ggit-diff.h
* This file is part of libgit2-glib
*
* Copyright (C) 2012 - Garrett Regier
diff --git a/libgit2-glib/ggit-patch.c b/libgit2-glib/ggit-patch.c
index a865d12..be83e20 100644
--- a/libgit2-glib/ggit-patch.c
+++ b/libgit2-glib/ggit-patch.c
@@ -50,7 +50,7 @@ _ggit_patch_wrap (git_patch *patch)
* ggit_patch_ref:
* @patch: a #GgitPatch.
*
- * Atomically increments the reference count of @entry by one.
+ * Atomically increments the reference count of @patch by one.
* This function is MT-safe and may be called from any thread.
*
* Returns: (transfer none): a #GgitPatch.
@@ -69,8 +69,8 @@ ggit_patch_ref (GgitPatch *patch)
* ggit_patch_unref:
* @patch: a #GgitPatch.
*
- * Atomically decrements the reference count of @entry by one.
- * If the reference count drops to 0, @entry is freed.
+ * Atomically decrements the reference count of @patch by one.
+ * If the reference count drops to 0, @patch is freed.
*/
void
ggit_patch_unref (GgitPatch *patch)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]