[Xfce4-commits] [xfce/thunar] 09/46: Remove usage of deprecated gtk_dialog_set_has_separator()

noreply at xfce.org noreply at xfce.org
Tue Aug 15 02:35:17 CEST 2017


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 6dc933410958ba361583ab53b14c3e05447535f4
Author: Jonas Kümmerlin <rgcjonas at gmail.com>
Date:   Wed Aug 5 17:09:17 2015 +0200

    Remove usage of deprecated gtk_dialog_set_has_separator()
    
    As of Gtk 2.22, separators are disabled by default, and gone in Gtk3.
---
 plugins/thunar-uca/thunar-uca-chooser.c | 1 -
 plugins/thunar-uca/thunar-uca-editor.c  | 1 -
 2 files changed, 2 deletions(-)

diff --git a/plugins/thunar-uca/thunar-uca-chooser.c b/plugins/thunar-uca/thunar-uca-chooser.c
index 2ad9771..787f7e8 100644
--- a/plugins/thunar-uca/thunar-uca-chooser.c
+++ b/plugins/thunar-uca/thunar-uca-chooser.c
@@ -110,7 +110,6 @@ thunar_uca_chooser_init (ThunarUcaChooser *uca_chooser)
   gtk_dialog_add_button (GTK_DIALOG (uca_chooser), GTK_STOCK_HELP, GTK_RESPONSE_HELP);
   gtk_dialog_add_button (GTK_DIALOG (uca_chooser), GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE);
   gtk_dialog_set_default_response (GTK_DIALOG (uca_chooser), GTK_RESPONSE_CLOSE);
-  gtk_dialog_set_has_separator (GTK_DIALOG (uca_chooser), FALSE);
   gtk_window_set_default_size (GTK_WINDOW (uca_chooser), 500, 350);
   gtk_window_set_destroy_with_parent (GTK_WINDOW (uca_chooser), TRUE);
   gtk_window_set_title (GTK_WINDOW (uca_chooser), _("Custom Actions"));
diff --git a/plugins/thunar-uca/thunar-uca-editor.c b/plugins/thunar-uca/thunar-uca-editor.c
index b940604..dfdead9 100644
--- a/plugins/thunar-uca/thunar-uca-editor.c
+++ b/plugins/thunar-uca/thunar-uca-editor.c
@@ -108,7 +108,6 @@ thunar_uca_editor_init (ThunarUcaEditor *uca_editor)
   gtk_dialog_add_button (GTK_DIALOG (uca_editor), GTK_STOCK_OK, GTK_RESPONSE_OK);
   gtk_dialog_set_alternative_button_order (GTK_DIALOG (uca_editor), GTK_RESPONSE_OK, GTK_RESPONSE_CANCEL, -1);
   gtk_dialog_set_default_response (GTK_DIALOG (uca_editor), GTK_RESPONSE_OK);
-  gtk_dialog_set_has_separator (GTK_DIALOG (uca_editor), FALSE);
   gtk_window_set_destroy_with_parent (GTK_WINDOW (uca_editor), TRUE);
   gtk_window_set_resizable (GTK_WINDOW (uca_editor), FALSE);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list