aboutsummaryrefslogtreecommitdiff
path: root/src/status-provider.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-06-11 13:43:16 -0500
committerTed Gould <ted@canonical.com>2009-06-11 13:43:16 -0500
commit01df160c30f98b6833f0e2341edf9ab94b95d801 (patch)
tree28cc6e017ccd792ff2dd336feeb7cfeca823c0b5 /src/status-provider.c
parentbac4397f4f402d3588b9fb6153bab8e6f320f8b7 (diff)
downloadayatana-indicator-session-01df160c30f98b6833f0e2341edf9ab94b95d801.tar.gz
ayatana-indicator-session-01df160c30f98b6833f0e2341edf9ab94b95d801.tar.bz2
ayatana-indicator-session-01df160c30f98b6833f0e2341edf9ab94b95d801.zip
Don't need a private or dispose or finalize. This class is more of an interface.
Diffstat (limited to 'src/status-provider.c')
-rw-r--r--src/status-provider.c29
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;
-}