widget: Deprecate gtk_widget_get_pointer ()

This commit is contained in:
Benjamin Otte 2011-11-08 16:52:19 +01:00
parent a1fb2c863b
commit d41732b729
2 changed files with 3 additions and 0 deletions

View File

@ -9755,6 +9755,8 @@ gtk_widget_get_device_events (GtkWidget *widget,
* defined as @widget->window coordinates for widgets that are not
* #GTK_NO_WINDOW widgets, and are relative to @widget->allocation.x,
* @widget->allocation.y for widgets that are #GTK_NO_WINDOW widgets.
*
* Deprecated: 3.4: Use gdk_window_get_device_positon() instead.
**/
void
gtk_widget_get_pointer (GtkWidget *widget,

View File

@ -752,6 +752,7 @@ void gtk_widget_set_margin_bottom (GtkWidget *widget,
gint gtk_widget_get_events (GtkWidget *widget);
GdkEventMask gtk_widget_get_device_events (GtkWidget *widget,
GdkDevice *device);
GDK_DEPRECATED_FOR(gdk_window_get_device_position)
void gtk_widget_get_pointer (GtkWidget *widget,
gint *x,
gint *y);