[Xfce4-commits] [panel-plugins/xfce4-generic-slider] 01/01: Remove accidental debugging printfs

noreply at xfce.org noreply at xfce.org
Wed Jan 7 07:34:20 CET 2015


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

connorbehan pushed a commit to branch master
in repository panel-plugins/xfce4-generic-slider.

commit a9c5cc6ccbb7113cedda764cded833695e793434
Author: Connor Behan <connor.behan at gmail.com>
Date:   Wed Jan 7 01:34:39 2015 -0500

    Remove accidental debugging printfs
---
 generic-slider.c |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/generic-slider.c b/generic-slider.c
index 0cc0350..3498b29 100644
--- a/generic-slider.c
+++ b/generic-slider.c
@@ -386,11 +386,10 @@ static void generic_slider_update_color(GtkColorButton *picker, Generic_Slider *
 	generic_slider -> color = new_color;
 	rc = gtk_widget_get_modifier_style(generic_slider -> slider);
 	
-	//if (!rc) {
+	if (!rc) {
 		rc = gtk_rc_style_new();
-	//}
+	}
 	
-        printf("ok: %d, %d, %d\n", new_color.red, new_color.green, new_color.blue);    
 	if (rc) {
 		rc -> color_flags[GTK_STATE_PRELIGHT] |= GTK_RC_BG;
 		rc -> bg[GTK_STATE_PRELIGHT] = generic_slider -> color;
@@ -419,12 +418,10 @@ static void generic_slider_update_default(GtkToggleButton *check, Generic_Slider
 	if (gtk_toggle_button_get_active(check)) {
 		gtk_widget_set_sensitive(picker, FALSE);
 		generic_slider -> color = generic_slider -> default_color;
-                printf("ok: here\n");
 	} else {
 		gtk_widget_set_sensitive(picker, TRUE);
 		gtk_color_button_get_color(GTK_COLOR_BUTTON(picker), &new_color);
 		generic_slider -> color = new_color;
-                printf("ok: there\n");
 	}
 	
 	if (rc) {

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


More information about the Xfce4-commits mailing list