Deprecate clutter_get_input_device_for_id()

We have the ClutterDeviceManager methods for that.
This commit is contained in:
Emmanuele Bassi 2011-10-10 16:57:18 +01:00
parent b6dd306998
commit 522b8be306
2 changed files with 3 additions and 1 deletions

View File

@ -2937,6 +2937,8 @@ clutter_get_font_flags (void)
* Return value: (transfer none): a #ClutterInputDevice, or %NULL * Return value: (transfer none): a #ClutterInputDevice, or %NULL
* *
* Since: 0.8 * Since: 0.8
*
* Deprecated: 1.10: Use clutter_device_manager_get_device() instead.
*/ */
ClutterInputDevice * ClutterInputDevice *
clutter_get_input_device_for_id (gint id_) clutter_get_input_device_for_id (gint id_)

View File

@ -169,9 +169,9 @@ void clutter_clear_glyph_cache (void);
void clutter_set_font_flags (ClutterFontFlags flags); void clutter_set_font_flags (ClutterFontFlags flags);
ClutterFontFlags clutter_get_font_flags (void); ClutterFontFlags clutter_get_font_flags (void);
#if !defined(CLUTTER_DISABLE_DEPRECATED) || defined(CLUTTER_COMPILATION)
ClutterInputDevice *clutter_get_input_device_for_id (gint id_); ClutterInputDevice *clutter_get_input_device_for_id (gint id_);
#if !defined(CLUTTER_DISABLE_DEPRECATED) || defined(CLUTTER_COMPILATION)
void clutter_grab_pointer_for_device (ClutterActor *actor, void clutter_grab_pointer_for_device (ClutterActor *actor,
gint id_); gint id_);
void clutter_ungrab_pointer_for_device (gint id_); void clutter_ungrab_pointer_for_device (gint id_);