[Xfce4-commits] [xfce/xfdesktop] 01/01: Fix glib warning
noreply at xfce.org
noreply at xfce.org
Tue Mar 3 18:35:19 CET 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository xfce/xfdesktop.
commit d122e28567eae18e6328ec17f297ddab6ce87ec0
Author: Thaddaeus Tintenfisch <thad.fisch at gmail.com>
Date: Tue Mar 3 17:35:14 2015 +0100
Fix glib warning
The following warning would appear when starting xfdesktop with icon
type set to "minimized application icons":
signal 'hidden-state-changed' is invalid for instance '0x99c0340'
of type 'XfdesktopWindowIconManager'
Signed-off-by: Eric Koegel <eric.koegel at gmail.com>
---
src/xfce-desktop.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/xfce-desktop.c b/src/xfce-desktop.c
index 0e10d7a..516d76c 100644
--- a/src/xfce-desktop.c
+++ b/src/xfce-desktop.c
@@ -264,7 +264,9 @@ xfce_desktop_setup_icon_view(XfceDesktop *desktop)
gtk_widget_show(desktop->priv->icon_view);
gtk_container_add(GTK_CONTAINER(desktop), desktop->priv->icon_view);
- g_signal_connect(G_OBJECT(manager), "hidden-state-changed", G_CALLBACK(hidden_state_changed_cb), desktop);
+ if(desktop->priv->icons_style == XFCE_DESKTOP_ICON_STYLE_FILES)
+ g_signal_connect(G_OBJECT(manager), "hidden-state-changed",
+ G_CALLBACK(hidden_state_changed_cb), desktop);
}
gtk_widget_queue_draw(GTK_WIDGET(desktop));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list