This is an automated email from the git hooks/post-receive script.

ochosi pushed a 
commit to branch 
master
in repository xfce/xfce4-panel.

commit a0e7da104248593003c9842fb90c03105779fa58
Author: Simon Steinbeiss <simon.steinbe...@elfenbeinturm.at>
Date:   Thu Jul 20 23:00:57 2017 +0200

    windowmenu: Fix icon size in menu
---
 plugins/windowmenu/windowmenu.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugins/windowmenu/windowmenu.c b/plugins/windowmenu/windowmenu.c
index 1b51481..f47e993 100644
--- a/plugins/windowmenu/windowmenu.c
+++ b/plugins/windowmenu/windowmenu.c
@@ -1168,7 +1168,8 @@ window_menu_plugin_menu_new (WindowMenuPlugin *plugin)
   italic = pango_font_description_from_string ("italic");
   bold = pango_font_description_from_string ("bold");
 
-  w = h = GTK_ICON_SIZE_MENU;
+  if (!gtk_icon_size_lookup (GTK_ICON_SIZE_MENU, &w, &h))
+    w = h = 16;
 
   menu = gtk_menu_new ();
   g_signal_connect (G_OBJECT (menu), "key-press-event",

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to