commit 21007b23c21d3a05dd90136a38efe19b0ed79e8f
Author: Daniele Forsi <dani...@forsi.it>
Date:   Fri Jul 13 11:33:22 2012 +0200

    Replace g_warning() with g_message() since they are printed during normal 
use
    
    Printing those as warnings would also interfere with the use of 
--g-fatal-warnings
    for debugging with gdb.

 plugins/sorttab_display/special_sorttab_page.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/sorttab_display/special_sorttab_page.c 
b/plugins/sorttab_display/special_sorttab_page.c
index 999f2a6..12015dd 100644
--- a/plugins/sorttab_display/special_sorttab_page.c
+++ b/plugins/sorttab_display/special_sorttab_page.c
@@ -269,7 +269,7 @@ static gboolean _sp_check_track(SpecialSortTabPage *self, 
Track *track) {
     /* time added */
     if (prefs_get_int_index("sp_added_cond", inst)) {
         IntervalState result = _sp_check_time(self, T_TIME_ADDED, track);
-        g_warning("time added result %d for track %s", result, track->title);
+        g_message("time added result %d for track %s", result, track->title);
         if (sp_or && (result == IS_INSIDE))
             return TRUE;
         if ((!sp_or) && (result == IS_OUTSIDE))
@@ -278,7 +278,7 @@ static gboolean _sp_check_track(SpecialSortTabPage *self, 
Track *track) {
             checked = TRUE;
     }
 
-    g_warning("Returning %d (checked %d) for track %s", result, checked, 
track->title);
+    g_message("Returning %d (checked %d) for track %s", result, checked, 
track->title);
     if (checked)
         return result;
     else
@@ -360,7 +360,7 @@ static void _on_sp_cond_button_toggled(GtkToggleButton 
*togglebutton, gpointer u
     guint32 inst = _get_sort_tab_widget_instance(pagedata->page);
     T_item cond = (guint32) GPOINTER_TO_UINT(pagedata->data);
 
-    g_warning("value of cond: %d", cond);
+    g_message("value of cond: %d", cond);
     switch (cond) {
     case T_RATING:
         prefs_set_int_index("sp_rating_cond", inst, 
gtk_toggle_button_get_active(togglebutton));

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to