summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-02-17 17:02:43 +0100
committerCosimo Cecchi <cosimoc@gnome.org>2012-02-17 17:03:15 +0100
commit039eb8dc04fb260d250a3afaf3119a251ef56b96 (patch)
treea1dc8dd17ed4453f9dbdb34e5685e0fdadd9cae0 /gtk
parent5f0c4fc20f073ebab271e15e0d097e6bc9237b1e (diff)
downloadgtk+-039eb8dc04fb260d250a3afaf3119a251ef56b96.tar.gz
color-editor: mark the GtkColorSwatch as not selectable
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkcoloreditor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcoloreditor.c b/gtk/gtkcoloreditor.c
index 5bab7ae977..ae151fe720 100644
--- a/gtk/gtkcoloreditor.c
+++ b/gtk/gtkcoloreditor.c
@@ -399,6 +399,7 @@ gtk_color_editor_init (GtkColorEditor *editor)
/* Construct the main UI */
editor->priv->swatch = swatch = gtk_color_swatch_new ();
+ gtk_color_swatch_set_selectable (GTK_COLOR_SWATCH (editor->priv->swatch), FALSE);
gtk_widget_set_events (swatch, gtk_widget_get_events (swatch)
& ~(GDK_BUTTON_PRESS_MASK
| GDK_BUTTON_RELEASE_MASK