From a80821b200d1ebe5457ab75d6572f4e86f0294bb Mon Sep 17 00:00:00 2001 From: Andre Miranda Date: Sat, 2 Jun 2018 01:52:04 -0300 Subject: [PATCH] Use exo's wrapper for gtk_dialog_get_action_area This wrapper dispels deprecation warnings --- thunar/thunar-column-editor.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/thunar/thunar-column-editor.c b/thunar/thunar-column-editor.c index 7761984c0..6476f7c8e 100644 --- a/thunar/thunar-column-editor.c +++ b/thunar/thunar-column-editor.c @@ -21,6 +21,8 @@ #include #endif +#include + #include #include @@ -123,8 +125,8 @@ thunar_column_editor_init (ThunarColumnEditor *column_editor) /* add the "Help" button */ button = gtk_button_new_with_mnemonic (_("_Help")); g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (thunar_column_editor_help_clicked), column_editor); - gtk_box_pack_start (GTK_BOX (gtk_dialog_get_action_area (GTK_DIALOG (column_editor))), button, FALSE, FALSE, 0); - gtk_button_box_set_child_secondary (GTK_BUTTON_BOX (gtk_dialog_get_action_area (GTK_DIALOG (column_editor))), button, TRUE); + gtk_box_pack_start (GTK_BOX (exo_gtk_dialog_get_action_area (GTK_DIALOG (column_editor))), button, FALSE, FALSE, 0); + gtk_button_box_set_child_secondary (GTK_BUTTON_BOX (exo_gtk_dialog_get_action_area (GTK_DIALOG (column_editor))), button, TRUE); gtk_widget_show (button); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);