[gtk+/wip/ricotz/deprecated: 1/2] accessible: Drop deprecated connect_widget_destroyed
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/ricotz/deprecated: 1/2] accessible: Drop deprecated connect_widget_destroyed
- Date: Sun, 23 Oct 2016 08:28:14 +0000 (UTC)
commit 6bc95105f64c13cd3e29a3d7cde69e515110f3ed
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Oct 23 10:12:49 2016 +0200
accessible: Drop deprecated connect_widget_destroyed
docs/reference/gtk/gtk4-sections.txt | 1 -
gtk/gtkaccessible.c | 22 ----------------------
gtk/gtkaccessible.h | 3 ---
3 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index fcd5ebd..0066e72 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -159,7 +159,6 @@ gtk_accel_label_get_type
<FILE>gtkaccessible</FILE>
<TITLE>GtkAccessible</TITLE>
GtkAccessible
-gtk_accessible_connect_widget_destroyed
gtk_accessible_get_widget
gtk_accessible_set_widget
diff --git a/gtk/gtkaccessible.c b/gtk/gtkaccessible.c
index 9efbb0c..1fcf038 100644
--- a/gtk/gtkaccessible.c
+++ b/gtk/gtkaccessible.c
@@ -220,28 +220,6 @@ gtk_accessible_get_widget (GtkAccessible *accessible)
return accessible->priv->widget;
}
-/**
- * gtk_accessible_connect_widget_destroyed:
- * @accessible: a #GtkAccessible
- *
- * This function specifies the callback function to be called
- * when the widget corresponding to a GtkAccessible is destroyed.
- *
- * Deprecated: 3.4: Use gtk_accessible_set_widget() and its vfuncs.
- */
-void
-gtk_accessible_connect_widget_destroyed (GtkAccessible *accessible)
-{
- GtkAccessibleClass *class;
-
- g_return_if_fail (GTK_IS_ACCESSIBLE (accessible));
-
- class = GTK_ACCESSIBLE_GET_CLASS (accessible);
-
- if (class->connect_widget_destroyed)
- class->connect_widget_destroyed (accessible);
-}
-
static void
gtk_accessible_widget_destroyed (GtkWidget *widget,
GtkAccessible *accessible)
diff --git a/gtk/gtkaccessible.h b/gtk/gtkaccessible.h
index 9c2229b..6921e01 100644
--- a/gtk/gtkaccessible.h
+++ b/gtk/gtkaccessible.h
@@ -68,9 +68,6 @@ void gtk_accessible_set_widget (GtkAccessible *accessible,
GDK_AVAILABLE_IN_ALL
GtkWidget *gtk_accessible_get_widget (GtkAccessible *accessible);
-GDK_DEPRECATED_IN_3_4_FOR(gtk_accessible_set_widget)
-void gtk_accessible_connect_widget_destroyed (GtkAccessible *accessible);
-
G_END_DECLS
#endif /* __GTK_ACCESSIBLE_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]