diff options
author | Ross Burton <ross@linux.intel.com> | 2009-08-04 11:22:20 +0100 |
---|---|---|
committer | Ross Burton <ross@linux.intel.com> | 2009-08-04 11:22:20 +0100 |
commit | 1ee3c83da377dad02601bfe895a3549161fac255 (patch) | |
tree | efcee7c15004b3b2f45aee21c90c5a0a58e27cbc /rest | |
parent | 0aa3862319b348f98ed584623cebef47c512d2c3 (diff) |
Add a FlickrProxy error quark
Diffstat (limited to 'rest')
-rw-r--r-- | rest/flickr-proxy.c | 6 | ||||
-rw-r--r-- | rest/flickr-proxy.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/rest/flickr-proxy.c b/rest/flickr-proxy.c index fa7bd08..cff2588 100644 --- a/rest/flickr-proxy.c +++ b/rest/flickr-proxy.c @@ -46,6 +46,12 @@ enum { PROP_TOKEN, }; +GQuark +flickr_proxy_error_quark (void) +{ + return g_quark_from_static_string ("rest-flickr-proxy"); +} + static RestProxyCall * _new_call (RestProxy *proxy) { diff --git a/rest/flickr-proxy.h b/rest/flickr-proxy.h index bc7b0e9..7104735 100644 --- a/rest/flickr-proxy.h +++ b/rest/flickr-proxy.h @@ -60,6 +60,8 @@ typedef struct { RestProxyClass parent_class; } FlickrProxyClass; +#define FLICKR_PROXY_ERROR flickr_proxy_error_quark() + GType flickr_proxy_get_type (void); RestProxy* flickr_proxy_new (const char *api_key, |