summaryrefslogtreecommitdiff
path: root/avahi-gobject/ga-record-browser.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-record-browser.c
parent41f897e018ee55395441504c0cf3aef584527dd9 (diff)
downloadavahi-58ee9d8c85293eefa1e901c660fb30bf2b9122c8.tar.gz
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-record-browser.c')
-rw-r--r--avahi-gobject/ga-record-browser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/avahi-gobject/ga-record-browser.c b/avahi-gobject/ga-record-browser.c
index f6747cd..2fe536c 100644
--- a/avahi-gobject/ga-record-browser.c
+++ b/avahi-gobject/ga-record-browser.c
@@ -27,7 +27,7 @@
#include "ga-record-browser.h"
#include "signals-marshal.h"
-#include "ga-errors.h"
+#include "ga-error.h"
#include "ga-enums-enumtypes.h"
G_DEFINE_TYPE(GaRecordBrowser, ga_record_browser, G_TYPE_OBJECT)
@@ -344,7 +344,7 @@ static void _avahi_record_browser_cb(AVAHI_GCC_UNUSED AvahiRecordBrowser * r, Av
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);
@@ -371,7 +371,7 @@ gboolean ga_record_browser_attach(GaRecordBrowser * 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 record browser failed: %s",
avahi_strerror(aerrno));
}