Commit 5034920f authored by Matthias Clasen's avatar Matthias Clasen

Deprecate gtk_widget_get_root_window

The root window is a fairly X-centric concept, and it
really has no place in the GtkWidget API. Plus, this
is a rarely-used one-line convenience function with
poor documentation.
parent e1d99745
......@@ -10177,7 +10177,9 @@ gtk_widget_get_display (GtkWidget *widget)
* Return value: (transfer none): the #GdkWindow root window for the toplevel for this widget.
* Since: 2.2
* Deprecated: 3.12: Use gdk_screen_get_root_window() instead
gtk_widget_get_root_window (GtkWidget *widget)
......@@ -1010,7 +1010,7 @@ GDK_AVAILABLE_IN_3_10
gint gtk_widget_get_scale_factor (GtkWidget *widget);
GdkDisplay * gtk_widget_get_display (GtkWidget *widget);
GdkWindow * gtk_widget_get_root_window (GtkWidget *widget);
GtkSettings* gtk_widget_get_settings (GtkWidget *widget);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment