[libgit2-glib] Move GgitRemoteCallbacks type to types.h



commit 7d6c707cda07b914f481743bd292cf427f18c645
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sun Nov 24 18:39:32 2013 +0100

    Move GgitRemoteCallbacks type to types.h

 libgit2-glib/ggit-remote-callbacks.h |    3 +--
 libgit2-glib/ggit-types.h            |    4 ++--
 2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/libgit2-glib/ggit-remote-callbacks.h b/libgit2-glib/ggit-remote-callbacks.h
index 90d86ad..350d34b 100644
--- a/libgit2-glib/ggit-remote-callbacks.h
+++ b/libgit2-glib/ggit-remote-callbacks.h
@@ -36,7 +36,6 @@ G_BEGIN_DECLS
 #define GGIT_IS_REMOTE_CALLBACKS_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), 
GGIT_TYPE_REMOTE_CALLBACKS))
 #define GGIT_REMOTE_CALLBACKS_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), 
GGIT_TYPE_REMOTE_CALLBACKS, GgitRemoteCallbacksClass))
 
-typedef struct _GgitRemoteCallbacks            GgitRemoteCallbacks;
 typedef struct _GgitRemoteCallbacksClass       GgitRemoteCallbacksClass;
 typedef struct _GgitRemoteCallbacksPrivate     GgitRemoteCallbacksPrivate;
 
@@ -85,6 +84,6 @@ git_remote_callbacks _ggit_remote_callbacks_get_native (GgitRemoteCallbacks *rem
 
 G_END_DECLS
 
-#endif /* __GGIT_REMOTE_CBS_H__ */
+#endif /* __GGIT_REMOTE_CALLBACKS_H__ */
 
 /* ex:set ts=8 noet: */
diff --git a/libgit2-glib/ggit-types.h b/libgit2-glib/ggit-types.h
index bff69c1..e1d8361 100644
--- a/libgit2-glib/ggit-types.h
+++ b/libgit2-glib/ggit-types.h
@@ -285,11 +285,11 @@ typedef struct _GgitRemote GgitRemote;
 typedef struct _GgitRemoteHead GgitRemoteHead;
 
 /**
- * GgitRemoteCbs:
+ * GgitRemoteCallbacks:
  *
  * Represents a git remote callbacks.
  */
-typedef struct _GgitRemoteCbs GgitRemoteCbs;
+typedef struct _GgitRemoteCallbacks GgitRemoteCallbacks;
 
 /**
  * GgitRepository:


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