aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross@linux.intel.com>2008-09-16 15:29:38 +0000
committerRoss Burton <ross@linux.intel.com>2008-09-16 15:29:38 +0000
commitcd9470e602f272789063577a5550dcf9c398246b (patch)
treeb025cacad9e6a218bdcc1000aad018332fb920ef
parent3f7e057e3f3d0050048da725a71f25c36449ae93 (diff)
downloadlibowl-cd9470e602f272789063577a5550dcf9c398246b.tar.gz
libowl-cd9470e602f272789063577a5550dcf9c398246b.tar.bz2
libowl-cd9470e602f272789063577a5550dcf9c398246b.zip
2008-09-16 Ross Burton <ross@linux.intel.com>
* libowl/owlcolourpalette.c: Remove the private struct, it is unused and GObject warns if you install a 0-sized private structure.
-rw-r--r--ChangeLog6
-rw-r--r--libowl/owlcolourpalette.c11
2 files changed, 6 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index d64cef8..3284e50 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-09-16 Ross Burton <ross@linux.intel.com>
+
+ * libowl/owlcolourpalette.c:
+ Remove the private struct, it is unused and GObject warns if you
+ install a 0-sized private structure.
+
2008-02-07 Ross Burton <ross@openedhand.com>
* libowl/libowl.pc.in:
diff --git a/libowl/owlcolourpalette.c b/libowl/owlcolourpalette.c
index 78590bc..97f529f 100644
--- a/libowl/owlcolourpalette.c
+++ b/libowl/owlcolourpalette.c
@@ -28,15 +28,6 @@
G_DEFINE_TYPE (OwlColourPalette, owl_colour_palette, GTK_TYPE_TABLE);
-#define COLOUR_PALETTE_PRIVATE(o) \
- (G_TYPE_INSTANCE_GET_PRIVATE ((o), OWL_TYPE_COLOUR_PALETTE, OwlColourPalettePrivate))
-
-typedef struct _OwlColourPalettePrivate OwlColourPalettePrivate;
-
-struct _OwlColourPalettePrivate
-{
-};
-
enum {
COLOUR_SELECTED,
LAST_SIGNAL
@@ -82,8 +73,6 @@ owl_colour_palette_class_init (OwlColourPaletteClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
- g_type_class_add_private (klass, sizeof (OwlColourPalettePrivate));
-
object_class->get_property = owl_colour_palette_get_property;
object_class->set_property = owl_colour_palette_set_property;
object_class->dispose = owl_colour_palette_dispose;