[pan2] small cleanup



commit 08cb4f00f2702e040181e36872d95c651c9f7ab0
Author: Heinrich MÃller <henmull src gnome org>
Date:   Wed Apr 25 11:20:21 2012 +0200

    small cleanup

 pan/gui/group-prefs-dialog.cc |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/pan/gui/group-prefs-dialog.cc b/pan/gui/group-prefs-dialog.cc
index d7e1116..2ad6338 100644
--- a/pan/gui/group-prefs-dialog.cc
+++ b/pan/gui/group-prefs-dialog.cc
@@ -131,14 +131,10 @@ GroupPrefsDialog :: save_from_gui ()
   }
 #endif
 
-  _group_prefs.save () ;
-
   // group color
-  GdkColor val;
   foreach_const (quarks_v, _groups, it)
   {
     _group_prefs.set_group_color(*it, _color);
-	std::cout<<"output: "<<*it<<" "<<_group_prefs.get_group_color_str(*it)<<"\n";
   }
 
   _group_prefs.save () ;
@@ -236,7 +232,7 @@ namespace
   void color_set_cb (GtkColorButton* b, gpointer gp)
   {
     GdkColor* col = (GdkColor*)gp;
-	gtk_color_button_get_color (b, col);
+	  gtk_color_button_get_color (b, col);
   }
 
   GtkWidget* new_color_button (const Quark& group, GroupPrefs& prefs, GdkColor* color)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]