aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-rounded-actor.c
diff options
context:
space:
mode:
authorEmanuele Aina <em@nerd.ocracy.org>2012-03-09 15:58:16 +0800
committerEmanuele Aina <emanuele.aina@collabora.com>2012-03-12 19:52:22 +0800
commit6fe60c87090fe013d7b803eb82a3ddb9568eccb9 (patch)
tree1e4989f1f0c747b68ead6521598a928585fa70bb /src/empathy-rounded-actor.c
parent532a1f7c653866c50589d37fb20b13e1f71738cf (diff)
downloadgsoc2013-empathy-6fe60c87090fe013d7b803eb82a3ddb9568eccb9.tar
gsoc2013-empathy-6fe60c87090fe013d7b803eb82a3ddb9568eccb9.tar.gz
gsoc2013-empathy-6fe60c87090fe013d7b803eb82a3ddb9568eccb9.tar.bz2
gsoc2013-empathy-6fe60c87090fe013d7b803eb82a3ddb9568eccb9.tar.lz
gsoc2013-empathy-6fe60c87090fe013d7b803eb82a3ddb9568eccb9.tar.xz
gsoc2013-empathy-6fe60c87090fe013d7b803eb82a3ddb9568eccb9.tar.zst
gsoc2013-empathy-6fe60c87090fe013d7b803eb82a3ddb9568eccb9.zip
Match the preview highlight roundedness with the video
https://bugzilla.gnome.org/show_bug.cgi?id=671720
Diffstat (limited to 'src/empathy-rounded-actor.c')
-rw-r--r--src/empathy-rounded-actor.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/empathy-rounded-actor.c b/src/empathy-rounded-actor.c
index 045f08de7..646682fb5 100644
--- a/src/empathy-rounded-actor.c
+++ b/src/empathy-rounded-actor.c
@@ -75,15 +75,12 @@ empathy_rounded_actor_class_init (EmpathyRoundedActorClass *klass)
}
ClutterActor *
-empathy_rounded_actor_new (void)
+empathy_rounded_actor_new (guint round_factor)
{
- return CLUTTER_ACTOR (
+ EmpathyRoundedActor *self = EMPATHY_ROUNDED_ACTOR (
g_object_new (EMPATHY_TYPE_ROUNDED_ACTOR, NULL));
-}
-void
-empathy_rounded_actor_set_round_factor (EmpathyRoundedActor *self,
- guint round_factor)
-{
self->priv->round_factor = round_factor;
+
+ return CLUTTER_ACTOR (self);
}