diff options
-rw-r--r-- | src/status-provider.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/status-provider.c b/src/status-provider.c index c2f7de2..e18cc31 100644 --- a/src/status-provider.c +++ b/src/status-provider.c @@ -4,17 +4,8 @@ #include "status-provider.h" -typedef struct _StatusProviderPrivate StatusProviderPrivate; -struct _StatusProviderPrivate { -}; - -#define STATUS_PROVIDER_GET_PRIVATE(o) \ -(G_TYPE_INSTANCE_GET_PRIVATE ((o), STATUS_PROVIDER_TYPE, StatusProviderPrivate)) - static void status_provider_class_init (StatusProviderClass *klass); static void status_provider_init (StatusProvider *self); -static void status_provider_dispose (GObject *object); -static void status_provider_finalize (GObject *object); G_DEFINE_TYPE (StatusProvider, status_provider, G_TYPE_OBJECT); @@ -23,11 +14,6 @@ status_provider_class_init (StatusProviderClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - g_type_class_add_private (klass, sizeof (StatusProviderPrivate)); - - object_class->dispose = status_provider_dispose; - object_class->finalize = status_provider_finalize; - return; } @@ -38,18 +24,3 @@ status_provider_init (StatusProvider *self) return; } -static void -status_provider_dispose (GObject *object) -{ - - G_OBJECT_CLASS (status_provider_parent_class)->dispose (object); - return; -} - -static void -status_provider_finalize (GObject *object) -{ - - G_OBJECT_CLASS (status_provider_parent_class)->finalize (object); - return; -} |