mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-29 18:47:38 +00:00
color-editor: mark the GtkColorSwatch as not selectable
This commit is contained in:
parent
5f0c4fc20f
commit
039eb8dc04
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user