From 56eafbaad8dcd8d0742fea795f6381e731e4edbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Wed, 2 Jun 2010 02:47:06 +0200 Subject: [PATCH] gtkcolorsel: unseal private pointer --- gtk/gtkcolorsel.c | 1 - gtk/gtkcolorsel.h | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gtk/gtkcolorsel.c b/gtk/gtkcolorsel.c index af04ed9a63..96382faf21 100644 --- a/gtk/gtkcolorsel.c +++ b/gtk/gtkcolorsel.c @@ -109,7 +109,6 @@ enum { COLORSEL_NUM_CHANNELS }; -typedef struct _ColorSelectionPrivate ColorSelectionPrivate; struct _ColorSelectionPrivate { diff --git a/gtk/gtkcolorsel.h b/gtk/gtkcolorsel.h index b99d1266ce..ee3ca0e526 100644 --- a/gtk/gtkcolorsel.h +++ b/gtk/gtkcolorsel.h @@ -46,9 +46,9 @@ G_BEGIN_DECLS typedef struct _GtkColorSelection GtkColorSelection; +typedef struct _ColorSelectionPrivate ColorSelectionPrivate; typedef struct _GtkColorSelectionClass GtkColorSelectionClass; - typedef void (* GtkColorSelectionChangePaletteFunc) (const GdkColor *colors, gint n_colors); typedef void (* GtkColorSelectionChangePaletteWithScreenFunc) (GdkScreen *screen, @@ -60,7 +60,7 @@ struct _GtkColorSelection GtkVBox parent_instance; /* < private_data > */ - gpointer GSEAL (private_data); + ColorSelectionPrivate *private_data; }; struct _GtkColorSelectionClass