summaryrefslogtreecommitdiff
path: root/rest/rest-proxy.h
diff options
context:
space:
mode:
authorRoss Burton <ross@linux.intel.com>2010-03-02 12:59:25 +0000
committerRoss Burton <ross@linux.intel.com>2010-03-02 12:59:25 +0000
commitdfd0e7cd4e340782f1fdf54dd6342d91cd10576a (patch)
tree5ad95a65351dcd29a382605b9616173412add1f8 /rest/rest-proxy.h
parentfe5048c92199afc9a7e9aef0add7f0e2b004bb47 (diff)
downloadlibrest-dfd0e7cd4e340782f1fdf54dd6342d91cd10576a.tar.gz
Change struct definition to please GIR parser (MB#9674)
Diffstat (limited to 'rest/rest-proxy.h')
-rw-r--r--rest/rest-proxy.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/rest/rest-proxy.h b/rest/rest-proxy.h
index eaedb2b..223f4ea 100644
--- a/rest/rest-proxy.h
+++ b/rest/rest-proxy.h
@@ -45,14 +45,17 @@ G_BEGIN_DECLS
#define REST_PROXY_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), REST_TYPE_PROXY, RestProxyClass))
+typedef struct _RestProxy RestProxy;
+typedef struct _RestProxyClass RestProxyClass;
+
/**
* RestProxy:
*
* #RestProxy has no publicly available members.
*/
-typedef struct {
+struct _RestProxy {
GObject parent;
-} RestProxy;
+};
/**
* RestProxyClass:
@@ -67,7 +70,7 @@ typedef struct {
* Typically subclasses will override @new_call to construct a subclass of
* #RestProxyCall.
*/
-typedef struct {
+struct _RestProxyClass {
GObjectClass parent_class;
/*< public >*/
gboolean (*bind_valist)(RestProxy *proxy, va_list params);
@@ -78,7 +81,7 @@ typedef struct {
/*< private >*/
/* padding for future expansion */
gpointer _padding_dummy[8];
-} RestProxyClass;
+};
#define REST_PROXY_ERROR rest_proxy_error_quark ()