[Xfce4-commits] [panel-plugins/xfce4-weather-plugin] 04/05: Do no longer issue API deprecation warnings on stdout.
noreply at xfce.org
noreply at xfce.org
Fri Oct 24 14:24:44 CEST 2014
This is an automated email from the git hooks/post-receive script.
hjudt pushed a commit to branch master
in repository panel-plugins/xfce4-weather-plugin.
commit 5074572b766da59fdad54a475ab3a222abe3e444
Author: Harald Judt <h.judt at gmx.at>
Date: Fri Oct 24 14:18:47 2014 +0200
Do no longer issue API deprecation warnings on stdout.
They have been moved to the details tab on the summary window.
---
panel-plugin/weather.c | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index 8c4d72e..97c88b4 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -489,15 +489,6 @@ cb_astro_update(SoupSession *session,
data->astro_update->attempt++;
data->astro_update->http_status_code = msg->status_code;
if ((msg->status_code == 200 || msg->status_code == 203)) {
- if (msg->status_code == 203)
- g_warning
- (_("Met.no sunrise API states that this version of the "
- "webservice is deprecated, and the plugin needs to be "
- "adapted to use a newer version, or it will stop working "
- "within a few months. Please file a bug on "
- "https://bugzilla.xfce.org if no one else has done so "
- "yet."));
-
doc = get_xml_document(msg);
if (G_LIKELY(doc)) {
root_node = xmlDocGetRootElement(doc);
@@ -552,14 +543,6 @@ cb_weather_update(SoupSession *session,
data->weather_update->attempt++;
data->weather_update->http_status_code = msg->status_code;
if (msg->status_code == 200 || msg->status_code == 203) {
- if (msg->status_code == 203)
- g_warning
- (_("Met.no LocationforecastLTS API states that this version "
- "of the webservice is deprecated, and the plugin needs to "
- "be adapted to use a newer version, or it will stop "
- "working within a few months. Please file a bug on "
- "https://bugzilla.xfce.org if no one else has done so "
- "yet."));
doc = get_xml_document(msg);
if (G_LIKELY(doc)) {
root_node = xmlDocGetRootElement(doc);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list