]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkcolorseldialog.h
Some GtkAboutDialog doc additions
[~andy/gtk] / gtk / gtkcolorseldialog.h
index 3b9ad69f60a8c6d1d3c6cf7b68a09796ae7aae4f..aeaa507cedebaa6dbcc1d0fdbb411713ee5b088b 100644 (file)
  * Modified by the GTK+ Team and others 1997-2000.  See the AUTHORS
  * file for a list of people on the GTK+ Team.  See the ChangeLog
  * files for a list of changes.  These files are distributed with
- * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
  */
 
-#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
 #error "Only <gtk/gtk.h> can be included directly."
 #endif
 
@@ -33,7 +33,6 @@
 
 #include <gtk/gtkdialog.h>
 #include <gtk/gtkcolorsel.h>
-#include <gtk/gtkvbox.h>
 
 G_BEGIN_DECLS
 
@@ -45,18 +44,17 @@ G_BEGIN_DECLS
 #define GTK_COLOR_SELECTION_DIALOG_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_COLOR_SELECTION_DIALOG, GtkColorSelectionDialogClass))
 
 
-typedef struct _GtkColorSelectionDialog       GtkColorSelectionDialog;
-typedef struct _GtkColorSelectionDialogClass  GtkColorSelectionDialogClass;
+typedef struct _GtkColorSelectionDialog              GtkColorSelectionDialog;
+typedef struct _GtkColorSelectionDialogPrivate       GtkColorSelectionDialogPrivate;
+typedef struct _GtkColorSelectionDialogClass         GtkColorSelectionDialogClass;
 
 
 struct _GtkColorSelectionDialog
 {
   GtkDialog parent_instance;
 
-  GtkWidget *colorsel;
-  GtkWidget *ok_button;
-  GtkWidget *cancel_button;
-  GtkWidget *help_button;
+  /*< private >*/
+  GtkColorSelectionDialogPrivate *priv;
 };
 
 struct _GtkColorSelectionDialogClass
@@ -71,9 +69,10 @@ struct _GtkColorSelectionDialogClass
 };
 
 
-/* ColorSelectionDialog */ 
-GType      gtk_color_selection_dialog_get_type (void) G_GNUC_CONST;
-GtkWidget* gtk_color_selection_dialog_new      (const gchar *title); 
+/* ColorSelectionDialog */
+GType      gtk_color_selection_dialog_get_type            (void) G_GNUC_CONST;
+GtkWidget* gtk_color_selection_dialog_new                 (const gchar *title);
+GtkWidget* gtk_color_selection_dialog_get_color_selection (GtkColorSelectionDialog *colorsel);
 
 
 G_END_DECLS