summaryrefslogtreecommitdiffstats
path: root/avahi-gobject/ga-service-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-gobject/ga-service-browser.c')
-rw-r--r--avahi-gobject/ga-service-browser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/avahi-gobject/ga-service-browser.c b/avahi-gobject/ga-service-browser.c
index f694ca5..2f4295c 100644
--- a/avahi-gobject/ga-service-browser.c
+++ b/avahi-gobject/ga-service-browser.c
@@ -30,7 +30,7 @@
#include "ga-service-browser.h"
#include "signals-marshal.h"
-#include "ga-errors.h"
+#include "ga-error.h"
#include "ga-enums-enumtypes.h"
G_DEFINE_TYPE(GaServiceBrowser, ga_service_browser, G_TYPE_OBJECT)
@@ -320,7 +320,7 @@ static void _avahi_service_browser_cb(AvahiServiceBrowser * b, AvahiIfIndex inte
case AVAHI_BROWSER_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,
"Browsing failed: %s",
avahi_strerror(aerrno));
g_signal_emit(self, signals[FAILURE], 0, error);
@@ -362,7 +362,7 @@ gboolean ga_service_browser_attach(GaServiceBrowser * browser,
if (priv->browser == 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));
}