diff options
author | Christian Persch <chpe@gnome.org> | 2012-03-04 00:28:08 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-03-04 00:29:04 -0500 |
commit | 5a8dba7eacc024f1b9893b1a42255b8c5af94bf0 (patch) | |
tree | efbd366431bc8033ddba52c939c97cf82652832a /tests | |
parent | 912ad3b6989c9206fea95afe9a0fd03f8413db08 (diff) | |
download | gtk+-5a8dba7eacc024f1b9893b1a42255b8c5af94bf0.tar.gz |
colorchooser: Allow removing the palettes again
https://bugzilla.gnome.org/show_bug.cgi?id=671057
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testcolorchooser.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/testcolorchooser.c b/tests/testcolorchooser.c index fc06772bad..2ef8808083 100644 --- a/tests/testcolorchooser.c +++ b/tests/testcolorchooser.c @@ -84,6 +84,11 @@ main (int argc, char *argv[]) 9, 9*9, colors); } + else if (g_strcmp0 (argv[i], "--no-palette") == 0) + { + gtk_color_chooser_add_palette (GTK_COLOR_CHOOSER (dialog), + FALSE, 0, NULL, 0); + } } g_signal_connect (dialog, "notify::color", G_CALLBACK (color_changed), NULL); |