[Xfce4-commits] [xfce/thunar] 01/01: Fix a couple of deprecations

noreply at xfce.org noreply at xfce.org
Sat Aug 26 04:23:14 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 61cf94508e0bb952a2fd9dda848f9e9100c72fac
Author: Andre Miranda <andreldm at xfce.org>
Date:   Fri Aug 25 23:22:56 2017 -0300

    Fix a couple of deprecations
---
 thunar/thunar-column-editor.c      | 2 +-
 thunar/thunar-preferences-dialog.c | 2 +-
 thunar/thunar-window.c             | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/thunar/thunar-column-editor.c b/thunar/thunar-column-editor.c
index f2ed5d1..e873ae7 100644
--- a/thunar/thunar-column-editor.c
+++ b/thunar/thunar-column-editor.c
@@ -224,7 +224,7 @@ thunar_column_editor_init (ThunarColumnEditor *column_editor)
   gtk_widget_show (column_editor->hide_button);
 
   /* create the horiz separator */
-  separator = gtk_hseparator_new ();
+  separator = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
   gtk_table_attach (GTK_TABLE (table), separator, 1, 2, 5, 6, GTK_FILL, 0, 0, 0);
   gtk_widget_show (separator);
 
diff --git a/thunar/thunar-preferences-dialog.c b/thunar/thunar-preferences-dialog.c
index ea8d693..0ad6bea 100644
--- a/thunar/thunar-preferences-dialog.c
+++ b/thunar/thunar-preferences-dialog.c
@@ -513,7 +513,7 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog)
   gtk_box_pack_start (GTK_BOX (ibox), align, FALSE, FALSE, 0);
   gtk_widget_show (align);
 
-  range = gtk_hscale_new_with_range (0.0, 2000.0, 100.0);
+  range = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, 0.0, 2000.0, 100.0);
   gtk_scale_set_draw_value (GTK_SCALE (range), FALSE);
   gtk_widget_set_tooltip_text (range, _("When single-click activation is enabled, pausing the mouse pointer over an item "
                                         "will automatically select that item after the chosen delay. You can disable this "
diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c
index 87e54d9..17d1a53 100644
--- a/thunar/thunar-window.c
+++ b/thunar/thunar-window.c
@@ -852,7 +852,7 @@ thunar_window_init (ThunarWindow *window)
       gtk_widget_show (label);
     }
 
-  window->paned = gtk_hpaned_new ();
+  window->paned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
   gtk_container_set_border_width (GTK_CONTAINER (window->paned), 0);
   gtk_table_attach (GTK_TABLE (window->table), window->paned, 0, 1, 4, 5, GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
   gtk_widget_show (window->paned);

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


More information about the Xfce4-commits mailing list