[Xfce4-commits] [xfce/xfce4-power-manager] 11/63: Drop some useless warnings

noreply at xfce.org noreply at xfce.org
Sun Mar 22 13:02:06 CET 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 72e160231584789c375885003db9dc0b27a4bf84
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Thu Mar 5 21:56:50 2015 +0100

    Drop some useless warnings
---
 panel-plugins/power-manager-plugin/power-manager-button.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/panel-plugins/power-manager-plugin/power-manager-button.c b/panel-plugins/power-manager-plugin/power-manager-button.c
index 2d5934f..80cc63b 100644
--- a/panel-plugins/power-manager-plugin/power-manager-button.c
+++ b/panel-plugins/power-manager-plugin/power-manager-button.c
@@ -937,10 +937,7 @@ power_manager_button_set_icon (PowerManagerButton *button)
     DBG("icon_width %d", button->priv->panel_icon_width);
 
     icon_name = g_strdup_printf ("%s-symbolic", button->priv->panel_icon_name);
-    g_warning ("width: %d, icon name: %s",button->priv->panel_icon_width, icon_name);
-
     context = GTK_STYLE_CONTEXT (gtk_widget_get_style_context (GTK_WIDGET (gtk_widget_get_parent (GTK_WIDGET (button)))));
-
     info = gtk_icon_theme_lookup_icon (gtk_icon_theme_get_default (), icon_name,
                                        button->priv->panel_icon_width, GTK_ICON_LOOKUP_GENERIC_FALLBACK);
     pixbuf = gtk_icon_info_load_symbolic_for_context (info, context, NULL, NULL);
@@ -1018,7 +1015,6 @@ power_manager_button_size_changed_cb (XfcePanelPlugin *plugin, gint size, PowerM
 
     /* Since symbolic icons are usually only provided in 16px we
      * try to be clever and use size steps */
-    g_warning ("size: %d, width: %d", size, width);
     if (width <= 21)
         button->priv->panel_icon_width = 16;
     else if (width >=22 && width <= 29)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list