Commit 32a29012 authored by Matthias Clasen's avatar Matthias Clasen

dialog: Mark gtk_dialog_get_action_area as deprecated

Direct access to the action area by applications makes it much more
difficult to make changes to GtkDialog. Therefore, deprecate this
function.
parent 7ed29589
......@@ -1524,10 +1524,13 @@ gtk_dialog_buildable_custom_finished (GtkBuildable *buildable,
*
* Returns the action area of @dialog.
*
* Returns: (transfer none): the action area.
* Returns: (transfer none): the action area
*
* Since: 2.14
**/
*
* Deprecated:3.12: Direct access to the action area
* is discouraged; use gtk_dialog_add_button(), etc.
*/
GtkWidget *
gtk_dialog_get_action_area (GtkDialog *dialog)
{
......
......@@ -188,7 +188,7 @@ void gtk_dialog_response (GtkDialog *dialog,
GDK_AVAILABLE_IN_ALL
gint gtk_dialog_run (GtkDialog *dialog);
GDK_AVAILABLE_IN_ALL
GDK_DEPRECATED_IN_3_10
GtkWidget * gtk_dialog_get_action_area (GtkDialog *dialog);
GDK_AVAILABLE_IN_ALL
GtkWidget * gtk_dialog_get_content_area (GtkDialog *dialog);
......
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