Disable colorsel for now to allow build with gtk3
Need to migrate to GtkColorChooser Lot of deprecated warning, need to migrate to GtkStylemaster
parent
31f12e508d
commit
47df48814f
|
@ -911,8 +911,9 @@ static void change_color(GtkWidget *button, t_global_monitor *global, gint type)
|
||||||
dialog = gtk_color_selection_dialog_new(_("Select color"));
|
dialog = gtk_color_selection_dialog_new(_("Select color"));
|
||||||
gtk_window_set_transient_for(GTK_WINDOW(dialog),
|
gtk_window_set_transient_for(GTK_WINDOW(dialog),
|
||||||
GTK_WINDOW(global->opt_dialog));
|
GTK_WINDOW(global->opt_dialog));
|
||||||
colorsel =
|
// Fixme for GTK3 Migration
|
||||||
GTK_COLOR_SELECTION(GTK_COLOR_SELECTION_DIALOG(dialog)->colorsel);
|
//colorsel =
|
||||||
|
// GTK_COLOR_SELECTION(GTK_COLOR_SELECTION_DIALOG(dialog)->colorsel);
|
||||||
gtk_color_selection_set_previous_color(colorsel,
|
gtk_color_selection_set_previous_color(colorsel,
|
||||||
&global->monitor->options.color[type]);
|
&global->monitor->options.color[type]);
|
||||||
gtk_color_selection_set_current_color(colorsel,
|
gtk_color_selection_set_current_color(colorsel,
|
||||||
|
|
Loading…
Reference in New Issue