[gnome-pocket] Fix introspection problem
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-pocket] Fix introspection problem
- Date: Sat, 20 Sep 2014 18:01:22 +0000 (UTC)
commit 4ec535e361df7e53b05796e2a53b2c0d2465acf7
Author: Bastien Nocera <hadess hadess net>
Date: Sat Sep 20 19:01:11 2014 +0200
Fix introspection problem
gnome-pocket/gnome-pocket.h:51: Warning: GnomePocket: gnome_pocket_new: return value: Unresolved type:
'GnomePocket*'
gnome-pocket/gnome-pocket.h | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/gnome-pocket/gnome-pocket.h b/gnome-pocket/gnome-pocket.h
index 251cfce..cfaafc5 100644
--- a/gnome-pocket/gnome-pocket.h
+++ b/gnome-pocket/gnome-pocket.h
@@ -31,20 +31,22 @@ G_BEGIN_DECLS
#define GNOME_IS_POCKET_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GNOME_TYPE_POCKET))
#define GNOME_POCKET_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GNOME_TYPE_POCKET, GnomePocketClass))
+typedef struct _GnomePocketClass GnomePocketClass;
+typedef struct _GnomePocket GnomePocket;
typedef struct _GnomePocketPrivate GnomePocketPrivate;
-typedef struct
+struct _GnomePocket
{
GObject parent;
/*< private >*/
GnomePocketPrivate *priv;
-} GnomePocket;
+};
-typedef struct
+struct _GnomePocketClass
{
GObjectClass parent;
-} GnomePocketClass;
+};
GType gnome_pocket_get_type (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]