Commit 073b4d8b authored by Benjamin Otte's avatar Benjamin Otte

accessible: Deprecate gtk_accessible_connect_widget_destroyed()

That was an abomination. Also, if people called it twice, you got even
mor signal handlers!
parent 0c1f2f2f
......@@ -231,6 +231,8 @@ gtk_accessible_get_widget (GtkAccessible *accessible)
*
* 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)
......
......@@ -66,6 +66,8 @@ GType gtk_accessible_get_type (void) G_GNUC_CONST;
void gtk_accessible_set_widget (GtkAccessible *accessible,
GtkWidget *widget);
GtkWidget *gtk_accessible_get_widget (GtkAccessible *accessible);
GDK_DEPRECATED_FOR(gtk_accessible_set_widget)
void gtk_accessible_connect_widget_destroyed (GtkAccessible *accessible);
G_END_DECLS
......
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