[tracker/tracker-1.4] tracker-preferences: Remove needless prints



commit 5dcb3bc9fcc0a4ff48d270a6e4be2e2cd7a2ea43
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Jul 5 20:03:08 2015 +0200

    tracker-preferences: Remove needless prints
    
    These won't tell a lot, since we're killing the whole thing.

 src/tracker-preferences/tracker-preferences.vala |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/src/tracker-preferences/tracker-preferences.vala 
b/src/tracker-preferences/tracker-preferences.vala
index 264725b..6759734 100644
--- a/src/tracker-preferences/tracker-preferences.vala
+++ b/src/tracker-preferences/tracker-preferences.vala
@@ -244,8 +244,6 @@ public class Tracker.Preferences {
        }
 
        void reindex () {
-               stdout.printf ("Reindexing...\n");
-
                string output, errors;
                int status;
 
@@ -261,13 +259,9 @@ public class Tracker.Preferences {
                } catch (GLib.Error e) {
                        stderr.printf ("Could not reindex: %s", e.message);
                }
-               stdout.printf ("%s\n", output);
-               stdout.printf ("Finishing...\n");
        }
 
        void restart () {
-               stdout.printf ("Restarting...\n");
-
                string output, errors;
                int status;
 
@@ -283,8 +277,6 @@ public class Tracker.Preferences {
                } catch (GLib.Error e) {
                        stderr.printf ("Could not restart: %s", e.message);
                }
-               stdout.printf ("%s\n", output);
-               stdout.printf ("Finishing...\n");
        }
 
        // This function is used to fix up the parameter ordering for callbacks
@@ -298,7 +290,7 @@ public class Tracker.Preferences {
                void* sym;
 
                if (!module.symbol (handler_name, out sym)) {
-                       stdout.printf ("Symbol not found! %s\n", handler_name);
+                       warning ("Symbol not found! %s\n", handler_name);
                } else {
                        Signal.connect (object, signal_name, (GLib.Callback) sym, this);
                }


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