From be20859dc943ea5f27785f8cdbea365094ba2958 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Thu, 9 Oct 2014 09:02:38 +0200 Subject: Use g_debug and set proper log domain --- src/uplanfahrwin.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/uplanfahrwin.c b/src/uplanfahrwin.c index ffba0ff..541cfc0 100644 --- a/src/uplanfahrwin.c +++ b/src/uplanfahrwin.c @@ -123,7 +123,7 @@ got_trips (GSList *trips, gpointer user_data, GError *err) return; } - g_message ("Found %d trips", g_slist_length (trips)); + g_debug ("Found %d trips", g_slist_length (trips)); u_plan_fahr_trip_view_store_trips (U_PLAN_FAHR_TRIP_VIEW(view), trips); } @@ -141,10 +141,10 @@ u_planfahr_get_trips_cb (gpointer user_data) when = g_date_time_new_now_local (); if (start && end && when) { - g_message ("Looking for trip from %s to %s", lpf_loc_get_name (start), lpf_loc_get_name (end)); + g_debug ("Looking for trip from %s to %s", lpf_loc_get_name (start), lpf_loc_get_name (end)); lpf_provider_get_trips (provider, start, end, when, 0, got_trips, view); } else { - g_message("Missing info"); + g_debug("Missing info"); } g_date_time_unref (when); @@ -217,7 +217,7 @@ row_activated (GtkListBox *listbox G_GNUC_UNUSED, GtkListBoxRow *row, gpointer u g_return_if_fail (loc != NULL); g_object_get (loc, "name", &name, NULL); - g_message ("Row activated %s", name); + g_debug ("Row activated %s", name); gtk_search_bar_set_search_mode (GTK_SEARCH_BAR(priv->searchbar), FALSE); tab = gtk_stack_get_visible_child (GTK_STACK (priv->stack)); @@ -300,7 +300,7 @@ populate_search_popover(GSList *locs, gpointer user_data, GError *err) return; } - g_message("Found %d locs", g_slist_length(locs)); + g_debug("Found %d locs", g_slist_length(locs)); for (iter = locs; iter; iter = g_slist_next (iter)) { loc = iter->data; g_object_get (loc, "name", &name, NULL); @@ -323,7 +323,7 @@ populate_search_popover(GSList *locs, gpointer user_data, GError *err) static void trigger_populate_search_popover(UPlanFahrWindowPrivate *priv, const gchar *text) { - g_message ("Searching for %s", text); + g_debug ("Searching for %s", text); lpf_provider_get_locs (provider, text, 0, populate_search_popover, priv->searchentry); searchentry_start_progressbar (priv); } -- cgit v1.2.3