Merge branch 'master' into errorstate
[cascardo/gnio.git] / gnio / gresolver.c
index 5a74b7c..014be9a 100644 (file)
 #endif
 #include <errno.h>
 
 #endif
 #include <errno.h>
 
+#include "gresolver.h"
 #include "ginetaddress.h"
 #include "ginet4address.h"
 #include "ginet6address.h"
 #include "ginetaddress.h"
 #include "ginet4address.h"
 #include "ginet6address.h"
-#include "gresolver.h"
 #include "gnioerror.h"
 
 G_DEFINE_TYPE (GResolver, g_resolver, G_TYPE_OBJECT);
 #include "gnioerror.h"
 
 G_DEFINE_TYPE (GResolver, g_resolver, G_TYPE_OBJECT);
@@ -405,6 +405,12 @@ g_resolver_init (GResolver *address)
 
 }
 
 
 }
 
+GResolver *
+g_resolver_new ()
+{
+  return G_RESOLVER (g_object_new (G_TYPE_RESOLVER, NULL));
+}
+
 typedef struct {
   GList       *list;
   const gchar *host;
 typedef struct {
   GList       *list;
   const gchar *host;