Commit 16d3f2b9 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

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().
parent 348ace69
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
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment