From 47df48814fd3de55609765225228138e568c48c7 Mon Sep 17 00:00:00 2001 From: Skunnyk Date: Tue, 3 May 2016 18:32:01 +0200 Subject: [PATCH] Disable colorsel for now to allow build with gtk3 Need to migrate to GtkColorChooser Lot of deprecated warning, need to migrate to GtkStyle --- panel-plugin/netload.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/panel-plugin/netload.c b/panel-plugin/netload.c index ae54ea3..89544e2 100644 --- a/panel-plugin/netload.c +++ b/panel-plugin/netload.c @@ -911,8 +911,9 @@ static void change_color(GtkWidget *button, t_global_monitor *global, gint type) dialog = gtk_color_selection_dialog_new(_("Select color")); gtk_window_set_transient_for(GTK_WINDOW(dialog), GTK_WINDOW(global->opt_dialog)); - colorsel = - GTK_COLOR_SELECTION(GTK_COLOR_SELECTION_DIALOG(dialog)->colorsel); + // Fixme for GTK3 Migration + //colorsel = + // GTK_COLOR_SELECTION(GTK_COLOR_SELECTION_DIALOG(dialog)->colorsel); gtk_color_selection_set_previous_color(colorsel, &global->monitor->options.color[type]); gtk_color_selection_set_current_color(colorsel,