[gtk+/wip/otte/gtk4: 23/121] API: Remove -gtk_widget_get_root_window()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/otte/gtk4: 23/121] API: Remove -gtk_widget_get_root_window()
- Date: Fri, 7 Oct 2016 04:04:02 +0000 (UTC)
commit 8857b6b994ec33de56c78e2aad443c477f222c00
Author: Benjamin Otte <otte redhat com>
Date: Wed Sep 28 16:53:17 2016 +0200
API: Remove -gtk_widget_get_root_window()
docs/reference/gtk/gtk3-sections.txt | 1 -
gtk/gtkwidget.c | 27 ---------------------------
gtk/gtkwidget.h | 2 --
3 files changed, 0 insertions(+), 30 deletions(-)
---
diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt
index e6a4147..40b67e8 100644
--- a/docs/reference/gtk/gtk3-sections.txt
+++ b/docs/reference/gtk/gtk3-sections.txt
@@ -5577,7 +5577,6 @@ gtk_widget_get_parent
gtk_widget_get_settings
gtk_widget_get_clipboard
gtk_widget_get_display
-gtk_widget_get_root_window
gtk_widget_get_screen
gtk_widget_has_screen
gtk_widget_get_size_request
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 4b2f5c8..0fcd336 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -10912,33 +10912,6 @@ gtk_widget_get_display (GtkWidget *widget)
}
/**
- * gtk_widget_get_root_window:
- * @widget: a #GtkWidget
- *
- * Get the root window where this widget is located. This function can
- * only be called after the widget has been added to a widget
- * hierarchy with #GtkWindow at the top.
- *
- * The root window is useful for such purposes as creating a popup
- * #GdkWindow associated with the window. In general, you should only
- * create display specific resources when a widget has been realized,
- * and you should free those resources when the widget is unrealized.
- *
- * Returns: (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
- */
-GdkWindow*
-gtk_widget_get_root_window (GtkWidget *widget)
-{
- g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
-
- return gdk_screen_get_root_window (gtk_widget_get_screen (widget));
-}
-
-/**
* gtk_widget_child_focus:
* @widget: a #GtkWidget
* @direction: direction of focus movement
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index c550dda..aacfc94 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -1012,8 +1012,6 @@ GDK_AVAILABLE_IN_3_10
gint gtk_widget_get_scale_factor (GtkWidget *widget);
GDK_AVAILABLE_IN_ALL
GdkDisplay * gtk_widget_get_display (GtkWidget *widget);
-GDK_DEPRECATED_IN_3_12
-GdkWindow * gtk_widget_get_root_window (GtkWidget *widget);
GDK_AVAILABLE_IN_ALL
GtkSettings* gtk_widget_get_settings (GtkWidget *widget);
GDK_AVAILABLE_IN_ALL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]