[Xfce4-commits] [thunar-plugins/thunar-vcs-plugin] 12/13: Replace deprecated GtkBox and GtkPaned calls

noreply at xfce.org noreply at xfce.org
Thu May 24 04:05:16 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 thunar-plugins/thunar-vcs-plugin.

commit c6b76afaa36441e6ba8d06bf1795c3a70c7bf539
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Thu May 17 23:53:53 2018 +0200

    Replace deprecated GtkBox and GtkPaned calls
---
 tvp-git-helper/tgh-branch-dialog.c      | 4 ++--
 tvp-git-helper/tgh-log-dialog.c         | 6 +++---
 tvp-git-helper/tgh-stash-dialog.c       | 6 +++---
 tvp-git-helper/tgh-transfer-dialog.c    | 2 +-
 tvp-svn-helper/tsh-log-dialog.c         | 4 ++--
 tvp-svn-helper/tsh-log-message-dialog.c | 2 +-
 tvp-svn-helper/tsh-properties-dialog.c  | 4 ++--
 tvp-svn-helper/tsh-relocate-dialog.c    | 4 ++--
 tvp-svn-helper/tsh-transfer-dialog.c    | 2 +-
 9 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/tvp-git-helper/tgh-branch-dialog.c b/tvp-git-helper/tgh-branch-dialog.c
index 5b69f97..4cb0b74 100644
--- a/tvp-git-helper/tgh-branch-dialog.c
+++ b/tvp-git-helper/tgh-branch-dialog.c
@@ -261,8 +261,8 @@ create_clicked (GtkButton *button, gpointer user_data)
 
   name_entry = gtk_entry_new ();
 
-  hbox = gtk_hbox_new (FALSE, 12);
-  vbox = gtk_vbox_new (FALSE, 12);
+  hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
+  vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
 
   gtk_box_pack_start (GTK_BOX (vbox), label,
                       FALSE, FALSE, 0);
diff --git a/tvp-git-helper/tgh-log-dialog.c b/tvp-git-helper/tgh-log-dialog.c
index 77dc04e..c4baaf8 100644
--- a/tvp-git-helper/tgh-log-dialog.c
+++ b/tvp-git-helper/tgh-log-dialog.c
@@ -113,7 +113,7 @@ tgh_log_dialog_init (TghLogDialog *dialog)
   GtkCellRenderer *renderer;
   GtkTreeModel *model;
 
-  pane = gtk_vpaned_new ();
+  pane = gtk_paned_new (GTK_ORIENTATION_VERTICAL);
 
   scroll_window = gtk_scrolled_window_new (NULL, NULL);
   gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
@@ -180,9 +180,9 @@ tgh_log_dialog_init (TghLogDialog *dialog)
   gtk_widget_show (tree_view);
   gtk_widget_show (scroll_window);
 
-  vpane = gtk_vpaned_new ();
+  vpane = gtk_paned_new (GTK_ORIENTATION_VERTICAL);
 
-  box = gtk_vbox_new (FALSE, 0);
+  box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
 
   dialog->revision_label = label = gtk_label_new (_("Revision"));
   gtk_misc_set_alignment (GTK_MISC (label), 0.0f, 0.5f);
diff --git a/tvp-git-helper/tgh-stash-dialog.c b/tvp-git-helper/tgh-stash-dialog.c
index ea1ecb6..3958f25 100644
--- a/tvp-git-helper/tgh-stash-dialog.c
+++ b/tvp-git-helper/tgh-stash-dialog.c
@@ -148,7 +148,7 @@ tgh_stash_dialog_init (TghStashDialog *dialog)
   GtkCellRenderer *renderer;
   GtkTreeModel *model;
 
-  vpane = gtk_vpaned_new ();
+  vpane = gtk_paned_new (GTK_ORIENTATION_VERTICAL);
 
   scroll_window = gtk_scrolled_window_new (NULL, NULL);
   gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
@@ -390,8 +390,8 @@ save_clicked (GtkButton *button, gpointer user_data)
 
   desc_entry = gtk_entry_new ();
 
-  hbox = gtk_hbox_new (FALSE, 12);
-  vbox = gtk_vbox_new (FALSE, 12);
+  hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
+  vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
 
   gtk_box_pack_start (GTK_BOX (vbox), label,
                       FALSE, FALSE, 0);
diff --git a/tvp-git-helper/tgh-transfer-dialog.c b/tvp-git-helper/tgh-transfer-dialog.c
index bd476af..ced6f71 100644
--- a/tvp-git-helper/tgh-transfer-dialog.c
+++ b/tvp-git-helper/tgh-transfer-dialog.c
@@ -70,7 +70,7 @@ tgh_transfer_dialog_init (TghTransferDialog *dialog)
             GTK_FILL,
             0, 0);
 
-    box = gtk_hbox_new(FALSE, 0);
+    box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
     dialog->repository = gtk_entry_new();
     dialog->filechooser = gtk_file_chooser_dialog_new(_("Select a folder"), GTK_WINDOW(dialog),
             GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
diff --git a/tvp-svn-helper/tsh-log-dialog.c b/tvp-svn-helper/tsh-log-dialog.c
index 6ba6749..c0521a4 100644
--- a/tvp-svn-helper/tsh-log-dialog.c
+++ b/tvp-svn-helper/tsh-log-dialog.c
@@ -116,7 +116,7 @@ tsh_log_dialog_init (TshLogDialog *dialog)
 	GtkTreeModel *model;
   gint n_columns;
 
-  pane = gtk_vpaned_new ();
+  pane = gtk_paned_new (GTK_ORIENTATION_VERTICAL);
 
 	scroll_window = gtk_scrolled_window_new (NULL, NULL);
 	gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
@@ -163,7 +163,7 @@ tsh_log_dialog_init (TshLogDialog *dialog)
   scroll_window = gtk_scrolled_window_new (NULL, NULL);
   gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll_window), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
 
-  vpane = gtk_vpaned_new ();
+  vpane = gtk_paned_new (GTK_ORIENTATION_VERTICAL);
 
   dialog->text_view = text_view = gtk_text_view_new ();
   gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (text_view), GTK_WRAP_WORD_CHAR);
diff --git a/tvp-svn-helper/tsh-log-message-dialog.c b/tvp-svn-helper/tsh-log-message-dialog.c
index 2b2f668..634da51 100644
--- a/tvp-svn-helper/tsh-log-message-dialog.c
+++ b/tvp-svn-helper/tsh-log-message-dialog.c
@@ -66,7 +66,7 @@ tsh_log_message_dialog_init (TshLogMessageDialog *dialog)
 	GtkTreeModel *model;
   gint n_columns;
 
-  dialog->vpane = vpane = gtk_vpaned_new ();
+  dialog->vpane = vpane = gtk_paned_new (GTK_ORIENTATION_VERTICAL);
 
 	scroll_window = gtk_scrolled_window_new (NULL, NULL);
 	gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll_window), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
diff --git a/tvp-svn-helper/tsh-properties-dialog.c b/tvp-svn-helper/tsh-properties-dialog.c
index b634c7e..996225b 100644
--- a/tvp-svn-helper/tsh-properties-dialog.c
+++ b/tvp-svn-helper/tsh-properties-dialog.c
@@ -113,7 +113,7 @@ tsh_properties_dialog_init (TshPropertiesDialog *dialog)
     GtkTreeIter iter;
   GtkEntryCompletion *completion;
 
-  vpane = gtk_vpaned_new ();
+  vpane = gtk_paned_new (GTK_ORIENTATION_VERTICAL);
 
 	scroll_window = gtk_scrolled_window_new (NULL, NULL);
 	gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
@@ -148,7 +148,7 @@ tsh_properties_dialog_init (TshPropertiesDialog *dialog)
   scroll_window = gtk_scrolled_window_new (NULL, NULL);
   gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll_window), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
 
-  box = gtk_vbox_new (FALSE, 0);
+  box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
 
   dialog->combo_box = combo_box = gtk_combo_box_text_new ();
   gtk_combo_box_text_append (GTK_COMBO_BOX_TEXT (combo_box), NULL, SVN_PROP_EOL_STYLE);
diff --git a/tvp-svn-helper/tsh-relocate-dialog.c b/tvp-svn-helper/tsh-relocate-dialog.c
index 524fb20..7c71648 100644
--- a/tvp-svn-helper/tsh-relocate-dialog.c
+++ b/tvp-svn-helper/tsh-relocate-dialog.c
@@ -92,7 +92,7 @@ tsh_relocate_dialog_init (TshRelocateDialog *dialog)
 	                  0, 0);
 
 #ifdef USE_FILE_ENTRY_REPLACEMENT
-  box = gtk_hbox_new(FALSE, 0);
+  box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	dialog->from = gtk_entry_new();
   dialog->filechooser_from = gtk_file_chooser_dialog_new(_("Select a folder"), GTK_WINDOW(dialog),
                                                     GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
@@ -146,7 +146,7 @@ tsh_relocate_dialog_init (TshRelocateDialog *dialog)
 	                  0, 0);
 
 #ifdef USE_FILE_ENTRY_REPLACEMENT
-  box = gtk_hbox_new(FALSE, 0);
+  box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	dialog->to = gtk_entry_new();
   dialog->filechooser_to = gtk_file_chooser_dialog_new(_("Select a folder"), GTK_WINDOW(dialog),
                                                     GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
diff --git a/tvp-svn-helper/tsh-transfer-dialog.c b/tvp-svn-helper/tsh-transfer-dialog.c
index 921ada9..b3741ef 100644
--- a/tvp-svn-helper/tsh-transfer-dialog.c
+++ b/tvp-svn-helper/tsh-transfer-dialog.c
@@ -86,7 +86,7 @@ tsh_transfer_dialog_init (TshTransferDialog *dialog)
 	                  0, 0);
 
 #ifdef USE_FILE_ENTRY_REPLACEMENT
-  box = gtk_hbox_new(FALSE, 0);
+  box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	dialog->repository = gtk_entry_new();
   dialog->filechooser = gtk_file_chooser_dialog_new(_("Select a folder"), GTK_WINDOW(dialog),
                                                     GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,

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


More information about the Xfce4-commits mailing list