[PATCH 06/16] core: Made GrlPluginInfo introspectable
- From: Simón Pena <spenap gmail com>
- To: grilo-list gnome org
- Subject: [PATCH 06/16] core: Made GrlPluginInfo introspectable
- Date: Thu, 9 Sep 2010 22:08:48 +0200
With the new g-ir-scanner, aliasing a structure must be
done before declaring it.
---
src/grl-plugin-registry.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/grl-plugin-registry.h b/src/grl-plugin-registry.h
index c82a956..a293b49 100644
--- a/src/grl-plugin-registry.h
+++ b/src/grl-plugin-registry.h
@@ -92,6 +92,8 @@
typedef struct _GrlPluginRegistry GrlPluginRegistry;
+typedef struct _GrlPluginInfo GrlPluginInfo;
+
/**
* GrlPluginInfo:
* @id: the module identifier
@@ -101,12 +103,12 @@ typedef struct _GrlPluginRegistry GrlPluginRegistry;
* This structure stores the information related to a module
*/
-typedef struct _GrlPluginInfo {
+struct _GrlPluginInfo {
gchar *id;
gchar *filename;
GHashTable *optional_info;
gint rank;
-} GrlPluginInfo;
+};
typedef struct _GrlPluginDescriptor GrlPluginDescriptor;
--
1.7.0.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]