[libgit2-glib] Move GgitCheckoutOptions to ggit-types.h



commit 2c7a446b402d7098969c2e73859e9f27f485a886
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Wed Jun 25 09:37:58 2014 +0200

    Move GgitCheckoutOptions to ggit-types.h

 libgit2-glib/ggit-checkout-options.h |    1 -
 libgit2-glib/ggit-types.h            |    7 +++++++
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/libgit2-glib/ggit-checkout-options.h b/libgit2-glib/ggit-checkout-options.h
index a1cd1a7..ece933b 100644
--- a/libgit2-glib/ggit-checkout-options.h
+++ b/libgit2-glib/ggit-checkout-options.h
@@ -36,7 +36,6 @@ G_BEGIN_DECLS
 #define GGIT_IS_CHECKOUT_OPTIONS_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), 
GGIT_TYPE_CHECKOUT_OPTIONS))
 #define GGIT_CHECKOUT_OPTIONS_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), 
GGIT_TYPE_CHECKOUT_OPTIONS, GgitCheckoutOptionsClass))
 
-typedef struct _GgitCheckoutOptions            GgitCheckoutOptions;
 typedef struct _GgitCheckoutOptionsClass       GgitCheckoutOptionsClass;
 typedef struct _GgitCheckoutOptionsPrivate     GgitCheckoutOptionsPrivate;
 
diff --git a/libgit2-glib/ggit-types.h b/libgit2-glib/ggit-types.h
index a5ca9ac..d5e0d29 100644
--- a/libgit2-glib/ggit-types.h
+++ b/libgit2-glib/ggit-types.h
@@ -384,6 +384,13 @@ typedef struct _GgitTreeBuilder GgitTreeBuilder;
 typedef struct _GgitBlameOptions GgitBlameOptions;
 
 /**
+ * GgitCheckoutOptions:
+ *
+ * Represents the options used when doign a checkout.
+ */
+typedef struct _GgitCheckoutOptions GgitCheckoutOptions;
+
+/**
  * GgitBranchType:
  * @GGIT_BRANCH_LOCAL: specifies a local branch.
  * @GGIT_BRANCH_REMOTE: specifies a remote branch.


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