[Xfce4-commits] [apps/xfdashboard] 02/02: Fix plugin 'middle-click-window-close' to use new XfdashboardLiveWindowSimple actors to retrieve window to close
noreply at xfce.org
noreply at xfce.org
Mon Feb 6 18:43:45 CET 2017
This is an automated email from the git hooks/post-receive script.
nomad pushed a commit to branch master
in repository apps/xfdashboard.
commit 2fed8d26f84433477bdd40f6f359a4a00c9148f6
Author: Stephan Haller <nomad at froevel.de>
Date: Mon Feb 6 18:43:14 2017 +0100
Fix plugin 'middle-click-window-close' to use new XfdashboardLiveWindowSimple actors to retrieve window to close
---
plugins/middle-click-window-close/middle-click-window-close.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/middle-click-window-close/middle-click-window-close.c b/plugins/middle-click-window-close/middle-click-window-close.c
index 57cbe6e..355514e 100644
--- a/plugins/middle-click-window-close/middle-click-window-close.c
+++ b/plugins/middle-click-window-close/middle-click-window-close.c
@@ -65,7 +65,7 @@ static void _xfdashboard_middle_click_window_close_on_clicked(XfdashboardMiddleC
ClutterActor *inActor,
gpointer inUserData)
{
- XfdashboardLiveWindow *liveWindow;
+ XfdashboardLiveWindowSimple *liveWindow;
XfdashboardClickAction *action;
guint button;
XfdashboardWindowTrackerWindow *window;
@@ -74,14 +74,14 @@ static void _xfdashboard_middle_click_window_close_on_clicked(XfdashboardMiddleC
g_return_if_fail(XFDASHBOARD_IS_LIVE_WINDOW(inActor));
g_return_if_fail(XFDASHBOARD_IS_CLICK_ACTION(inUserData));
- liveWindow=XFDASHBOARD_LIVE_WINDOW(inActor);
+ liveWindow=XFDASHBOARD_LIVE_WINDOW_SIMPLE(inActor);
action=XFDASHBOARD_CLICK_ACTION(inUserData);
/* Get button used for click action */
button=xfdashboard_click_action_get_button(action);
if(button==DEFAULT_WINDOW_CLOSE_BUTTON)
{
- window=xfdashboard_live_window_get_window(liveWindow);
+ window=xfdashboard_live_window_simple_get_window(liveWindow);
xfdashboard_window_tracker_window_close(window);
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list