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:
committed by
Sven Neumann
parent
348ace69b7
commit
16d3f2b99c
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user