After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 626512 - [St] Remove _st_actor_contains()
[St] Remove _st_actor_contains()
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2010-08-10 09:20 UTC by Florian Müllner
Modified: 2010-08-10 13:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[St] Remove _st_actor_contains() (4.45 KB, patch)
2010-08-10 09:20 UTC, Florian Müllner
committed Details | Review

Description Florian Müllner 2010-08-10 09:20:37 UTC
See patch.
Comment 1 Florian Müllner 2010-08-10 09:20:40 UTC
Created attachment 167487 [details] [review]
[St] Remove _st_actor_contains()

The function has been upstreamed as clutter_actor_contains() - with
the switch to clutter-1.4 it is now available to the Shell, so it
is no longer necessary to keep a copy in-tree.
Comment 2 Dan Winship 2010-08-10 12:43:19 UTC
Comment on attachment 167487 [details] [review]
[St] Remove _st_actor_contains()

>-  st_widget_set_hover (widget, _st_actor_contains (CLUTTER_ACTOR (widget), pointer_actor));
>+  if (pointer_actor)
>+    st_widget_set_hover (widget, clutter_actor_contains (CLUTTER_ACTOR (widget), pointer_actor));

if pointer_actor is NULL, you need to call st_widget_set_hover(widget, FALSE).

otherwise good to commit
Comment 3 Florian Müllner 2010-08-10 13:09:55 UTC
Attachment 167487 [details] pushed as 766b5b8 - [St] Remove _st_actor_contains()