[Xfce4-commits] <xfce4-weather-plugin:master> Fix removing wrong update timer source.
Harald Judt
noreply at xfce.org
Sat Feb 2 11:28:01 CET 2013
Updating branch refs/heads/master
to cedc8e26046e964cd8ced9f17d5188ebb76bf7dc (commit)
from a7cd8f896c87dc273701bfee481066318a103832 (commit)
commit cedc8e26046e964cd8ced9f17d5188ebb76bf7dc
Author: Harald Judt <h.judt at gmx.at>
Date: Sat Feb 2 11:25:43 2013 +0100
Fix removing wrong update timer source.
panel-plugin/weather-summary.c | 2 +-
panel-plugin/weather.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/weather-summary.c b/panel-plugin/weather-summary.c
index 06679ba..6c56191 100644
--- a/panel-plugin/weather-summary.c
+++ b/panel-plugin/weather-summary.c
@@ -995,7 +995,7 @@ update_summary_subtitle(plugin_data *data)
gint64 now_ms;
if (data->summary_update_timer) {
- g_source_remove(data->update_timer);
+ g_source_remove(data->summary_update_timer);
data->summary_update_timer = 0;
}
diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index 00f1264..34f2a43 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -1355,7 +1355,7 @@ close_summary(GtkWidget *widget,
/* deactivate the summary window update timer */
if (data->summary_update_timer) {
- g_source_remove(data->update_timer);
+ g_source_remove(data->summary_update_timer);
data->summary_update_timer = 0;
}
More information about the Xfce4-commits
mailing list