]> git.meshlink.io Git - catta/blobdiff - avahi-gobject/ga-client.c
fix avahi_netlink_new to allow multiple netlinks per process
[catta] / avahi-gobject / ga-client.c
index d34933f7f96b43cd9a30f0ad6a333ce4a3c33ec9..1874bb1102a86598fd5ea75f6060fd0cf5302f67 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * ga-client.c - Source for GaClient
- * Copyright (C) 2005 Collabora Ltd.
+ * Copyright (C) 2006-2007 Collabora Ltd.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -27,7 +27,7 @@
 #include "ga-client.h"
 
 #include "ga-client-enumtypes.h"
-#include "ga-errors.h"
+#include "ga-error.h"
 
 /* FIXME what to do about glib-malloc ? */
 #include <avahi-glib/glib-watch.h>
@@ -245,7 +245,7 @@ gboolean ga_client_start(GaClient * client, GError ** error) {
                                _avahi_client_cb, client, &aerror);
     if (aclient == NULL) {
         if (error != NULL) {
-            *error = g_error_new(GA_ERRORS, aerror,
+            *error = g_error_new(GA_ERROR, aerror,
                                  "Failed to create avahi client: %s",
                                  avahi_strerror(aerror));
         }