summaryrefslogtreecommitdiff
path: root/gtk/gtkcolorswatchprivate.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-02-17 17:01:50 +0100
committerCosimo Cecchi <cosimoc@gnome.org>2012-02-17 17:03:15 +0100
commit5f0c4fc20f073ebab271e15e0d097e6bc9237b1e (patch)
tree2959bfb92709a6c062ffe3e1a4f158b074a7f379 /gtk/gtkcolorswatchprivate.h
parent04b36dabd06edcd69b86e36679f5701564bf95d1 (diff)
downloadgtk+-5f0c4fc20f073ebab271e15e0d097e6bc9237b1e.tar.gz
color-swatch: add a "selectable" property to GtkColorSwatch
We don't want e.g. the swatch in GtkColorEditor to get the select badge when it's clicked, so make this a property (on by default).
Diffstat (limited to 'gtk/gtkcolorswatchprivate.h')
-rw-r--r--gtk/gtkcolorswatchprivate.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtkcolorswatchprivate.h b/gtk/gtkcolorswatchprivate.h
index bc8a03df47..4f236ab008 100644
--- a/gtk/gtkcolorswatchprivate.h
+++ b/gtk/gtkcolorswatchprivate.h
@@ -90,7 +90,11 @@ void gtk_color_swatch_set_icon (GtkColorSwatch *swatch,
G_GNUC_INTERNAL
void gtk_color_swatch_set_use_alpha (GtkColorSwatch *swatch,
gboolean use_alpha);
-
+G_GNUC_INTERNAL
+void gtk_color_swatch_set_selectable (GtkColorSwatch *swatch,
+ gboolean selectable);
+G_GNUC_INTERNAL
+gboolean gtk_color_swatch_get_selectable (GtkColorSwatch *swatch);
G_END_DECLS