[Xfce4-commits] [xfce/xfce4-power-manager] 01/01: Set label so we don't crash (Bug #11967)
noreply at xfce.org
noreply at xfce.org
Mon Jun 8 16:08:08 CEST 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository xfce/xfce4-power-manager.
commit 9c766f4f9dfc5185354ab213265efff0d3cc43fd
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Mon Jun 8 16:23:20 2015 +0300
Set label so we don't crash (Bug #11967)
---
panel-plugins/power-manager-plugin/power-manager-button.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/panel-plugins/power-manager-plugin/power-manager-button.c b/panel-plugins/power-manager-plugin/power-manager-button.c
index bb300ee..936de31 100644
--- a/panel-plugins/power-manager-plugin/power-manager-button.c
+++ b/panel-plugins/power-manager-plugin/power-manager-button.c
@@ -285,7 +285,7 @@ static void
power_manager_button_set_label (PowerManagerButton *button, gdouble percentage,
guint64 time_to_empty_or_full)
{
- gchar *label_string;
+ gchar *label_string = NULL;
gint hours;
gint minutes;
gchar *remaining_time = NULL;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list