diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-10-09 09:02:38 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-12-21 14:00:49 +0100 |
commit | be20859dc943ea5f27785f8cdbea365094ba2958 (patch) | |
tree | 1222e1ea6ec18780cc7535066d26b2cb64b77538 | |
parent | cf62ca92b7dfe820a4fa2756898ec4bcef5c1c91 (diff) |
Use g_debug and set proper log domain
-rw-r--r-- | src/uplanfahrwin.c | 12 |
1 files 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); } |