[libsoup] Mark SoupAuth and SoupAuthDomain abstract



commit 47d2f605a94e76f829e3d148d4a30d7fd6c90219
Author: Dan Winship <danw gnome org>
Date:   Fri Apr 30 09:11:40 2010 -0400

    Mark SoupAuth and SoupAuthDomain abstract

 libsoup/soup-auth-domain.c |    2 +-
 libsoup/soup-auth.c        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libsoup/soup-auth-domain.c b/libsoup/soup-auth-domain.c
index 18b7ad4..c8ce96b 100644
--- a/libsoup/soup-auth-domain.c
+++ b/libsoup/soup-auth-domain.c
@@ -72,7 +72,7 @@ typedef struct {
 
 #define SOUP_AUTH_DOMAIN_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), SOUP_TYPE_AUTH_DOMAIN, SoupAuthDomainPrivate))
 
-G_DEFINE_TYPE (SoupAuthDomain, soup_auth_domain, G_TYPE_OBJECT)
+G_DEFINE_ABSTRACT_TYPE (SoupAuthDomain, soup_auth_domain, G_TYPE_OBJECT)
 
 static void set_property (GObject *object, guint prop_id,
 			  const GValue *value, GParamSpec *pspec);
diff --git a/libsoup/soup-auth.c b/libsoup/soup-auth.c
index 41d56b2..e50b89a 100644
--- a/libsoup/soup-auth.c
+++ b/libsoup/soup-auth.c
@@ -47,7 +47,7 @@ typedef struct {
 } SoupAuthPrivate;
 #define SOUP_AUTH_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), SOUP_TYPE_AUTH, SoupAuthPrivate))
 
-G_DEFINE_TYPE (SoupAuth, soup_auth, G_TYPE_OBJECT)
+G_DEFINE_ABSTRACT_TYPE (SoupAuth, soup_auth, G_TYPE_OBJECT)
 
 enum {
 	SAVE_PASSWORD,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]