]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkcolorchooser.h
filechooserbutton: Add tests for unselect_all()
[~andy/gtk] / gtk / gtkcolorchooser.h
index 052d52d1827cf7d48884669f0a53e4943499ec8e..192189544f3079261f6676a1b0189ebed9f0f55b 100644 (file)
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef __GTK_COLOR_CHOOSER_H__
+#define __GTK_COLOR_CHOOSER_H__
+
 #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
 #error "Only <gtk/gtk.h> can be included directly."
 #endif
 
-#ifndef __GTK_COLOR_CHOOSER_H__
-#define __GTK_COLOR_CHOOSER_H__
-
 #include <gtk/gtkwidget.h>
 
 G_BEGIN_DECLS
@@ -48,7 +46,7 @@ struct _GtkColorChooserInterface
                         const GdkRGBA   *color);
 
   void (* add_palette) (GtkColorChooser *chooser,
-                        gboolean         horizontal,
+                        GtkOrientation   orientation,
                         gint             colors_per_line,
                         gint             n_colors,
                         GdkRGBA         *colors);
@@ -61,18 +59,25 @@ struct _GtkColorChooserInterface
   gpointer padding[12];
 };
 
+GDK_AVAILABLE_IN_3_4
 GType    gtk_color_chooser_get_type        (void) G_GNUC_CONST;
 
+GDK_AVAILABLE_IN_3_4
 void     gtk_color_chooser_get_rgba       (GtkColorChooser *chooser,
                                            GdkRGBA         *color);
+GDK_AVAILABLE_IN_3_4
 void     gtk_color_chooser_set_rgba       (GtkColorChooser *chooser,
                                            const GdkRGBA   *color);
+GDK_AVAILABLE_IN_3_4
 gboolean gtk_color_chooser_get_use_alpha  (GtkColorChooser *chooser);
+
+GDK_AVAILABLE_IN_3_4
 void     gtk_color_chooser_set_use_alpha  (GtkColorChooser *chooser,
                                            gboolean         use_alpha);
 
+GDK_AVAILABLE_IN_3_4
 void     gtk_color_chooser_add_palette    (GtkColorChooser *chooser,
-                                           gboolean         horizontal,
+                                           GtkOrientation   orientation,
                                            gint             colors_per_line,
                                            gint             n_colors,
                                            GdkRGBA         *colors);