[Xfce4-commits] [panel-plugins/xfce4-netload-plugin] 15/27: Disable colorsel for now to allow build with gtk3
noreply at xfce.org
noreply at xfce.org
Sat May 14 15:54:05 CEST 2016
This is an automated email from the git hooks/post-receive script.
landry pushed a commit to branch master
in repository panel-plugins/xfce4-netload-plugin.
commit 47df48814fd3de55609765225228138e568c48c7
Author: Skunnyk <skunnyk at alteroot.org>
Date: Tue May 3 18:32:01 2016 +0200
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,
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list