[gitg/wip/libggit016] ggit_get_capabilities was renamed to get_features
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/wip/libggit016] ggit_get_capabilities was renamed to get_features
- Date: Sun, 22 Jun 2014 21:26:17 +0000 (UTC)
commit a3bc7b2a2d48e8672356c7a544c6f6f9cc3c85c7
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sun Jun 22 23:25:35 2014 +0200
ggit_get_capabilities was renamed to get_features
configure.ac | 2 +-
libgitg/gitg-init.vala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2a5537d..0b9f45a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -121,7 +121,7 @@ AC_TRY_RUN([
main(int argc, const char *argv[])
{
ggit_init ();
- return ((ggit_get_capabilities() & GGIT_CAP_THREADS) != 0) ? 0 : 1;
+ return ((ggit_get_features() & GGIT_FEATURE_THREADS) != 0) ? 0 : 1;
}
],[AC_MSG_RESULT([yes])],[AC_MSG_ERROR([no, please recompile a threadsafe version of libgit2
(-DTHREADSAFE:BOOL=ON)])])
diff --git a/libgitg/gitg-init.vala b/libgitg/gitg-init.vala
index 2e54bf7..90f7a5a 100644
--- a/libgitg/gitg-init.vala
+++ b/libgitg/gitg-init.vala
@@ -42,7 +42,7 @@ public void init() throws Error
gitg_inited = true;
- if ((Ggit.get_capabilities() & Ggit.CapFlags.THREADS) == 0)
+ if ((Ggit.get_features() & Ggit.FeatureFlags.THREADS) == 0)
{
gitg_initerr = new InitError.THREADS_UNSAFE("no thread support");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]