[libgit2-glib] remote: the save method has been removed
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] remote: the save method has been removed
- Date: Tue, 30 Jun 2015 22:09:49 +0000 (UTC)
commit 847e510a7ef635571009b7009efcc68425c7371c
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Jul 1 00:09:11 2015 +0200
remote: the save method has been removed
Remote's configuration is changed via the configuration
directly or through a convenience function which performs changes to
the configuration directly
libgit2-glib/ggit-remote.c | 24 ------------------------
libgit2-glib/ggit-remote.h | 3 ---
2 files changed, 0 insertions(+), 27 deletions(-)
---
diff --git a/libgit2-glib/ggit-remote.c b/libgit2-glib/ggit-remote.c
index 01d6538..b7765dc 100644
--- a/libgit2-glib/ggit-remote.c
+++ b/libgit2-glib/ggit-remote.c
@@ -456,30 +456,6 @@ ggit_remote_get_owner (GgitRemote *remote)
}
/**
- * ggit_remote_save:
- * @remote: a #GgitRemote.
- * @error: a #GError or %NULL.
- *
- * Saves a remote to its repository's configuration.
- */
-void
-ggit_remote_save (GgitRemote *remote,
- GError **error)
-{
- gint ret;
-
- g_return_if_fail (GGIT_IS_REMOTE (remote));
- g_return_if_fail (error == NULL || *error == NULL);
-
- ret = git_remote_save (_ggit_native_get (remote));
-
- if (ret != GIT_OK)
- {
- _ggit_error_set (error, ret);
- }
-}
-
-/**
* ggit_remote_get_name:
* @remote: a #GgitRemote.
*
diff --git a/libgit2-glib/ggit-remote.h b/libgit2-glib/ggit-remote.h
index 6d3ba0b..0647b29 100644
--- a/libgit2-glib/ggit-remote.h
+++ b/libgit2-glib/ggit-remote.h
@@ -88,9 +88,6 @@ GgitRemote *ggit_remote_new_anonymous (GgitRepository *repos
GgitRepository *ggit_remote_get_owner (GgitRemote *remote);
-void ggit_remote_save (GgitRemote *remote,
- GError **error);
-
const gchar *ggit_remote_get_name (GgitRemote *remote);
const gchar *ggit_remote_get_url (GgitRemote *remote);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]