summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
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