[Xfce4-commits] [apps/xfce4-taskmanager] 01/06: comment out gdk_color_parse() calls, allows taskmanager built with gtk3 to run..

noreply at xfce.org noreply at xfce.org
Thu Dec 11 19:11:13 CET 2014


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch landry/gtk3
in repository apps/xfce4-taskmanager.

commit 23c43d14ec8dc4a53f4e3f51d94dc772662e12be
Author: Landry Breuil <landry at xfce.org>
Date:   Thu Dec 11 18:15:12 2014 +0100

    comment out gdk_color_parse() calls, allows taskmanager built with gtk3 to run..
---
 src/process-monitor.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/process-monitor.c b/src/process-monitor.c
index 82cc3e6..0dd6568 100644
--- a/src/process-monitor.c
+++ b/src/process-monitor.c
@@ -81,7 +81,9 @@ init_source_color (GtkWidget *widget, GtkStyle *prev_style, gpointer user_data)
 {
 #ifdef HAVE_GTK3
 	GdkColor *color;
+/*
 	gdk_color_parse("red", color);
+*/
 #else
 	GdkColor *color = &widget->style->base[GTK_STATE_SELECTED];
 	XTM_PROCESS_MONITOR (widget)->color_red = color->red / 65535.0;
@@ -300,8 +302,10 @@ xtm_process_monitor_paint (XtmProcessMonitor *monitor)
 
 #ifdef HAVE_GTK3
 	GdkColor *color;
+/*
 	gdk_color_parse("red", color);
 	gdk_cairo_set_source_color (cr, color);
+*/
 #else
 	gdk_cairo_set_source_color (cr, &GTK_WIDGET (monitor)->style->fg[GTK_STATE_NORMAL]);
 #endif

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list