[mutter] wayland-stage: Use the C setter for cursor-visible
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland-stage: Use the C setter for cursor-visible
- Date: Tue, 22 Apr 2014 01:05:52 +0000 (UTC)
commit d1a31952de5dd582f4e6292a86377163d1209de3
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Apr 21 20:55:54 2014 -0400
wayland-stage: Use the C setter for cursor-visible
This makes meta_wayland_stage_new(); synonymous with g_object_newv(...);
src/wayland/meta-wayland-stage.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/wayland/meta-wayland-stage.c b/src/wayland/meta-wayland-stage.c
index 71d3511..6e16b14 100644
--- a/src/wayland/meta-wayland-stage.c
+++ b/src/wayland/meta-wayland-stage.c
@@ -54,12 +54,11 @@ static void
meta_wayland_stage_init (MetaWaylandStage *self)
{
clutter_stage_set_user_resizable (CLUTTER_STAGE (self), FALSE);
+ clutter_stage_set_cursor_visible (CLUTTER_STAGE (self), FALSE);
}
ClutterActor *
meta_wayland_stage_new (void)
{
- return g_object_new (META_TYPE_WAYLAND_STAGE,
- "cursor-visible", FALSE,
- NULL);
+ return g_object_new (META_TYPE_WAYLAND_STAGE, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]