clutter/stage: Own clutter_stage_get_view_at()

This function is exported as a Mutter-specific function,
but now that ClutterStageView is part of the public API,
ClutterStage can own this function.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/623
This commit is contained in:
Georges Basile Stavracas Neto 2019-06-17 18:39:34 -03:00
parent 769a01f4e9
commit cc2c670a5e
No known key found for this signature in database
GPG Key ID: 886C17EE170D1385
2 changed files with 5 additions and 5 deletions

View File

@ -43,11 +43,6 @@ void clutter_stage_capture_into (ClutterStage *stage,
cairo_rectangle_int_t *rect, cairo_rectangle_int_t *rect,
uint8_t *data); uint8_t *data);
CLUTTER_EXPORT
ClutterStageView * clutter_stage_get_view_at (ClutterStage *stage,
float x,
float y);
CLUTTER_EXPORT CLUTTER_EXPORT
void clutter_stage_freeze_updates (ClutterStage *stage); void clutter_stage_freeze_updates (ClutterStage *stage);

View File

@ -30,6 +30,7 @@
#include <clutter/clutter-types.h> #include <clutter/clutter-types.h>
#include <clutter/clutter-group.h> #include <clutter/clutter-group.h>
#include <clutter/clutter-stage-view.h>
G_BEGIN_DECLS G_BEGIN_DECLS
@ -260,6 +261,10 @@ gboolean clutter_stage_capture (ClutterStage *stage,
cairo_rectangle_int_t *rect, cairo_rectangle_int_t *rect,
ClutterCapture **captures, ClutterCapture **captures,
int *n_captures); int *n_captures);
CLUTTER_EXPORT
ClutterStageView * clutter_stage_get_view_at (ClutterStage *stage,
float x,
float y);
G_END_DECLS G_END_DECLS