[gtk+/wip/baedert/box] widget: Remove gtk_widget_get_root_window
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/box] widget: Remove gtk_widget_get_root_window
- Date: Tue, 4 Oct 2016 16:42:28 +0000 (UTC)
commit e232d32c85bddad26b35e76f0c58ea2c261fcdd3
Author: Timm Bäder <mail baedert org>
Date: Tue Oct 4 18:41:23 2016 +0200
widget: 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 b68419a..5da317c 100644
--- a/docs/reference/gtk/gtk3-sections.txt
+++ b/docs/reference/gtk/gtk3-sections.txt
@@ -5266,7 +5266,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 e5e261c..7e00eee 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -10381,33 +10381,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 5947184..15ca5d0 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -987,8 +987,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]