[grilo] core: Made GrlPluginInfo introspectable



commit 5404705a8d2b9c3b2fde53501f723a574901c308
Author: Simón Pena <spenap gmail com>
Date:   Thu Sep 9 22:08:48 2010 +0200

    core: Made GrlPluginInfo introspectable
    
    With the new g-ir-scanner, aliasing a structure must be
    done before declaring it.
    
    Signed-off-by: Iago Toral Quiroga <itoral igalia com>

 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;
 



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