summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-06-02 02:47:06 +0200
committerJavier Jardón <jjardon@gnome.org>2010-07-13 19:40:46 +0200
commit56eafbaad8dcd8d0742fea795f6381e731e4edbc (patch)
tree31ba3ebbc2faf143ff4b76b1c42148ca67fbfe37 /gtk
parentad45f1ce9de39e169b2a9b5240396b5c1fb210df (diff)
downloadgtk+-56eafbaad8dcd8d0742fea795f6381e731e4edbc.tar.gz
gtkcolorsel: unseal private pointer
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkcolorsel.c1
-rw-r--r--gtk/gtkcolorsel.h4
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