[libgit2-glib] Rename remote_new to remote_wrap
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] Rename remote_new to remote_wrap
- Date: Sun, 4 Nov 2012 15:12:40 +0000 (UTC)
commit 8aa20473325cc7fd3dae6aceed2081a289f26743
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sun Nov 4 16:12:15 2012 +0100
Rename remote_new to remote_wrap
libgit2-glib/ggit-remote.c | 2 +-
libgit2-glib/ggit-remote.h | 2 +-
libgit2-glib/ggit-repository.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libgit2-glib/ggit-remote.c b/libgit2-glib/ggit-remote.c
index c2009e9..1c5fa71 100644
--- a/libgit2-glib/ggit-remote.c
+++ b/libgit2-glib/ggit-remote.c
@@ -35,7 +35,7 @@ struct _GgitRemote
G_DEFINE_BOXED_TYPE (GgitRemote, ggit_remote, ggit_remote_ref, ggit_remote_unref)
GgitRemote *
-_ggit_remote_new (const git_remote *remote)
+_ggit_remote_wrap (const git_remote *remote)
{
GgitRemote *glib_remote;
diff --git a/libgit2-glib/ggit-remote.h b/libgit2-glib/ggit-remote.h
index 310023d..6006107 100644
--- a/libgit2-glib/ggit-remote.h
+++ b/libgit2-glib/ggit-remote.h
@@ -33,7 +33,7 @@ G_BEGIN_DECLS
GType ggit_remote_get_type (void) G_GNUC_CONST;
-GgitRemote *_ggit_remote_new (const git_remote *remote);
+GgitRemote *_ggit_remote_wrap (const git_remote *remote);
GgitRemote *ggit_remote_ref (GgitRemote *remote);
void ggit_remote_unref (GgitRemote *remote);
diff --git a/libgit2-glib/ggit-repository.c b/libgit2-glib/ggit-repository.c
index f5e317c..10f6ef6 100644
--- a/libgit2-glib/ggit-repository.c
+++ b/libgit2-glib/ggit-repository.c
@@ -1420,7 +1420,7 @@ ggit_repository_get_remote (GgitRepository *repository,
return NULL;
}
- return _ggit_remote_new (remote);
+ return _ggit_remote_wrap (remote);
}
/**
@@ -1458,7 +1458,7 @@ ggit_repository_add_remote (GgitRepository *repository,
return NULL;
}
- return _ggit_remote_new (remote);
+ return _ggit_remote_wrap (remote);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]