aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-11-03 13:03:50 -0600
committerTed Gould <ted@canonical.com>2009-11-03 13:03:50 -0600
commite2ce2dd0c4f34c806c371d9595ce01390b11785a (patch)
treeb4da7adf199f2a70d71b4ab8475017a9fa8f970c
parent6935a6b06c356e2e71dd94acfb894893f8040df1 (diff)
downloadlibayatana-indicator-e2ce2dd0c4f34c806c371d9595ce01390b11785a.tar.gz
libayatana-indicator-e2ce2dd0c4f34c806c371d9595ce01390b11785a.tar.bz2
libayatana-indicator-e2ce2dd0c4f34c806c371d9595ce01390b11785a.zip
Removing the instance object. I think that we can do everything we need by using the object.
-rw-r--r--libindicator/Makefile.am2
-rw-r--r--libindicator/indicator-instance.c26
-rw-r--r--libindicator/indicator-instance.h31
3 files changed, 0 insertions, 59 deletions
diff --git a/libindicator/Makefile.am b/libindicator/Makefile.am
index 38b6498..db45f3c 100644
--- a/libindicator/Makefile.am
+++ b/libindicator/Makefile.am
@@ -5,7 +5,6 @@ libindicatorincludedir=$(includedir)/libindicator-0.1/libindicator
indicator_headers = \
indicator.h \
- indicator-instance.h \
indicator-object.h
libindicatorinclude_HEADERS = \
@@ -16,7 +15,6 @@ lib_LTLIBRARIES = \
libindicator_la_SOURCES = \
$(indicator_headers) \
- indicator-instance.c \
indicator-object.c
libindicator_la_CFLAGS = \
diff --git a/libindicator/indicator-instance.c b/libindicator/indicator-instance.c
deleted file mode 100644
index b205c53..0000000
--- a/libindicator/indicator-instance.c
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include "indicator-instance.h"
-
-static void indicator_instance_class_init (IndicatorInstanceClass *klass);
-static void indicator_instance_init (IndicatorInstance *self);
-
-G_DEFINE_TYPE (IndicatorInstance, indicator_instance, G_TYPE_OBJECT);
-
-static void
-indicator_instance_class_init (IndicatorInstanceClass *klass)
-{
-
- return;
-}
-
-static void
-indicator_instance_init (IndicatorInstance *self)
-{
- /* No Data for this Class */
-
- return;
-}
-
diff --git a/libindicator/indicator-instance.h b/libindicator/indicator-instance.h
deleted file mode 100644
index c83b01e..0000000
--- a/libindicator/indicator-instance.h
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef __INDICATOR_INSTANCE_H__
-#define __INDICATOR_INSTANCE_H__
-
-#include <glib.h>
-#include <glib-object.h>
-
-G_BEGIN_DECLS
-
-#define INDICATOR_INSTANCE_TYPE (indicator_instance_get_type ())
-#define INDICATOR_INSTANCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), INDICATOR_INSTANCE_TYPE, IndicatorInstance))
-#define INDICATOR_INSTANCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), INDICATOR_INSTANCE_TYPE, IndicatorInstanceClass))
-#define INDICATOR_IS_INSTANCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), INDICATOR_INSTANCE_TYPE))
-#define INDICATOR_IS_INSTANCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), INDICATOR_INSTANCE_TYPE))
-#define INDICATOR_INSTANCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), INDICATOR_INSTANCE_TYPE, IndicatorInstanceClass))
-
-typedef struct _IndicatorInstance IndicatorInstance;
-typedef struct _IndicatorInstanceClass IndicatorInstanceClass;
-
-struct _IndicatorInstanceClass {
- GObjectClass parent_class;
-};
-
-struct _IndicatorInstance {
- GObject parent;
-};
-
-GType indicator_instance_get_type (void);
-
-G_END_DECLS
-
-#endif