summaryrefslogtreecommitdiffstats
path: root/avahi-gobject/ga-service-resolver.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd@debian.org>2007-10-28 18:41:43 +0000
committerSjoerd Simons <sjoerd@debian.org>2007-10-28 18:41:43 +0000
commit58ee9d8c85293eefa1e901c660fb30bf2b9122c8 (patch)
tree2a41078632e0ff382727a96384faaa302206f39c /avahi-gobject/ga-service-resolver.c
parent41f897e018ee55395441504c0cf3aef584527dd9 (diff)
Rename GA's error to GA_ERROR for more consistency with other glib bindings
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1566 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-gobject/ga-service-resolver.c')
-rw-r--r--avahi-gobject/ga-service-resolver.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/avahi-gobject/ga-service-resolver.c b/avahi-gobject/ga-service-resolver.c
index 380e0a5..6ba90cd 100644
--- a/avahi-gobject/ga-service-resolver.c
+++ b/avahi-gobject/ga-service-resolver.c
@@ -27,7 +27,7 @@
#include "ga-service-resolver.h"
#include "signals-marshal.h"
-#include "ga-errors.h"
+#include "ga-error.h"
#include "ga-enums.h"
#include "ga-enums-enumtypes.h"
@@ -332,7 +332,7 @@ static void _avahi_service_resolver_cb(AVAHI_GCC_UNUSED AvahiServiceResolver * r
case AVAHI_RESOLVER_FAILURE:{
GError *error;
int aerrno = avahi_client_errno(priv->client->avahi_client);
- error = g_error_new(GA_ERRORS, aerrno,
+ error = g_error_new(GA_ERROR, aerrno,
"Resolving failed: %s",
avahi_strerror(aerrno));
g_signal_emit(self, signals[FAILURE], 0, error);
@@ -378,7 +378,7 @@ gboolean ga_service_resolver_attach(GaServiceResolver * resolver,
if (priv->resolver == NULL) {
if (error != NULL) {
int aerrno = avahi_client_errno(client->avahi_client);
- *error = g_error_new(GA_ERRORS, aerrno,
+ *error = g_error_new(GA_ERROR, aerrno,
"Attaching group failed: %s",
avahi_strerror(aerrno));
}