fixed usage of gtk_color_selection_set_has_opacity_control().

2003-02-02  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorbutton.c (gimp_color_button_clicked):
	fixed usage of gtk_color_selection_set_has_opacity_control().
This commit is contained in:
Sven Neumann 2003-02-02 01:22:01 +00:00 committed by Sven Neumann
parent 348ace69b7
commit 16d3f2b99c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-02-02 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpcolorbutton.c (gimp_color_button_clicked):
fixed usage of gtk_color_selection_set_has_opacity_control().
2003-02-01 Maurits Rijk <lpeek.mrijk@consunet.nl>
* libgimp/gimpmiscui.[ch]: factored out more preview stuff from several

View File

@ -387,7 +387,7 @@ gimp_color_button_clicked (GtkButton *button)
{
dialog = gtk_color_selection_dialog_new (color_button->title);
gtk_color_selection_set_has_opacity_control (GTK_COLOR_SELECTION (GTK_COLOR_SELECTION_DIALOG (dialog)->colorsel), TRUE);
gtk_color_selection_set_has_opacity_control (GTK_COLOR_SELECTION (GTK_COLOR_SELECTION_DIALOG (dialog)->colorsel), gimp_color_button_has_alpha (color_button));
gtk_widget_destroy (GTK_COLOR_SELECTION_DIALOG (dialog)->help_button);
gtk_container_set_border_width (GTK_CONTAINER (dialog), 2);