[Xfce4-commits] [apps/xfdashboard] 03/07: Revert "Remove parameter for target actor in signal handler to draw outline at XfdashboardBackground as the target is this actor ; )"

noreply at xfce.org noreply at xfce.org
Tue Sep 6 19:35:05 CEST 2016


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

nomad pushed a commit to branch master
in repository apps/xfdashboard.

commit 9142af7a684fec30bea44d762dd944533e6538e5
Author: Stephan Haller <nomad at froevel.de>
Date:   Tue Sep 6 19:23:57 2016 +0200

    Revert "Remove parameter for target actor in signal handler to draw outline at XfdashboardBackground as the target is this actor ;)"
    
    This reverts commit ee0d7d43fe55d4a538f485b6805935eb5a615ec5.
    
    It is not the solution I wanted although it works ... somehow.
---
 libxfdashboard/background.c | 2 +-
 libxfdashboard/background.h | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/libxfdashboard/background.c b/libxfdashboard/background.c
index 535b3a2..b982f46 100644
--- a/libxfdashboard/background.c
+++ b/libxfdashboard/background.c
@@ -127,7 +127,7 @@ static gboolean _xfdashboard_background_on_draw_outline(XfdashboardBackground *s
 	klass=XFDASHBOARD_BACKGROUND_GET_CLASS(self);
 	if(klass->draw_outline)
 	{
-		handled=(klass->draw_outline)(self, inFlags, inWidth, inHeight);
+		handled=(klass->draw_outline)(self, inFlags, inTarget, inWidth, inHeight);
 	}
 
 	/* Return handled state. If it is TRUE the further processing of this signal
diff --git a/libxfdashboard/background.h b/libxfdashboard/background.h
index b6f305a..7315b23 100644
--- a/libxfdashboard/background.h
+++ b/libxfdashboard/background.h
@@ -88,6 +88,7 @@ struct _XfdashboardBackgroundClass
 	/* Virtual functions */
 	gboolean (*draw_outline)(XfdashboardBackground *self,
 								ClutterEffectPaintFlags inFlags,
+								ClutterActor *inTarget,
 								gfloat inWidth,
 								gfloat inHeight);
 };

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


More information about the Xfce4-commits mailing list