[gtk+/refactor: 27/106] gtkcolorsel: unseal private pointer



commit 56eafbaad8dcd8d0742fea795f6381e731e4edbc
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Jun 2 02:47:06 2010 +0200

    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 af04ed9..96382fa 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 b99d126..ee3ca0e 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]