[Xfce4-commits] [xfce/thunar] 06/06: Use exo's wrapper for gtk_dialog_get_action_area
noreply at xfce.org
noreply at xfce.org
Sat Jun 2 06:52:29 CEST 2018
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/thunar.
commit a80821b200d1ebe5457ab75d6572f4e86f0294bb
Author: Andre Miranda <andreldm at xfce.org>
Date: Sat Jun 2 01:52:04 2018 -0300
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 7761984..6476f7c 100644
--- a/thunar/thunar-column-editor.c
+++ b/thunar/thunar-column-editor.c
@@ -21,6 +21,8 @@
#include <config.h>
#endif
+#include <exo/exo.h>
+
#include <libxfce4ui/libxfce4ui.h>
#include <thunar/thunar-abstract-dialog.h>
@@ -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);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list