[Xfce4-commits] [thunar-plugins/thunar-vcs-plugin] 03/04: Pass integer instead of string to gtk_dialog_add_action_widget
noreply at xfce.org
noreply at xfce.org
Fri Jun 1 17:53:17 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 8178bdd718a46c6911d4f2431fbe339d3b9994cc
Author: Andre Miranda <andreldm at xfce.org>
Date: Fri Jun 1 00:26:42 2018 -0300
Pass integer instead of string to gtk_dialog_add_action_widget
---
tvp-git-helper/tgh-branch-dialog.c | 6 +++---
tvp-git-helper/tgh-stash-dialog.c | 10 +++++-----
tvp-svn-helper/tsh-properties-dialog.c | 4 ++--
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/tvp-git-helper/tgh-branch-dialog.c b/tvp-git-helper/tgh-branch-dialog.c
index ddf7928..8eb04e5 100644
--- a/tvp-git-helper/tgh-branch-dialog.c
+++ b/tvp-git-helper/tgh-branch-dialog.c
@@ -128,12 +128,12 @@ tgh_branch_dialog_init (TghBranchDialog *dialog)
gtk_widget_show (scroll_window);
dialog->checkout = button = gtk_button_new_with_mnemonic (_("_Jump to"));
- gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, "");
+ gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, 0);
g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (checkout_clicked), dialog);
gtk_widget_show (button);
dialog->create = button = gtk_button_new_with_mnemonic (_("_New"));
- gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, "");
+ gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, 0);
g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (create_clicked), dialog);
gtk_widget_show (button);
@@ -143,7 +143,7 @@ tgh_branch_dialog_init (TghBranchDialog *dialog)
gtk_widget_hide (button);
dialog->cancel = button = gtk_button_new_with_mnemonic (_("_Cancel"));
- gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, "");
+ gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, 0);
g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (cancel_clicked), dialog);
gtk_widget_show (button);
diff --git a/tvp-git-helper/tgh-stash-dialog.c b/tvp-git-helper/tgh-stash-dialog.c
index 8031a69..cc7b277 100644
--- a/tvp-git-helper/tgh-stash-dialog.c
+++ b/tvp-git-helper/tgh-stash-dialog.c
@@ -219,27 +219,27 @@ tgh_stash_dialog_init (TghStashDialog *dialog)
gtk_widget_show (vpane);
dialog->save = button = gtk_button_new_with_mnemonic (_("_Save"));
- gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, "");
+ gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, 0);
g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (save_clicked), dialog);
gtk_widget_show (button);
dialog->apply = button = gtk_button_new_with_mnemonic (_("_Apply"));
- gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, "");
+ gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, 0);
g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (apply_clicked), dialog);
gtk_widget_show (button);
dialog->pop = button = gtk_button_new_with_mnemonic (_("_OK"));
- gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, "");
+ gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, 0);
g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (pop_clicked), dialog);
gtk_widget_show (button);
dialog->drop = button = gtk_button_new_with_mnemonic (_("_Delete"));
- gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, "");
+ gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, 0);
g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (drop_clicked), dialog);
gtk_widget_show (button);
dialog->clear = button = gtk_button_new_with_mnemonic (_("C_lear"));
- gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, "");
+ gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, 0);
g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (clear_clicked), dialog);
gtk_widget_show (button);
diff --git a/tvp-svn-helper/tsh-properties-dialog.c b/tvp-svn-helper/tsh-properties-dialog.c
index 996225b..e5d3c9c 100644
--- a/tvp-svn-helper/tsh-properties-dialog.c
+++ b/tvp-svn-helper/tsh-properties-dialog.c
@@ -238,12 +238,12 @@ tsh_properties_dialog_init (TshPropertiesDialog *dialog)
gtk_widget_show (vpane);
dialog->set = button = gtk_button_new_with_mnemonic (_("_Add"));
- gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, "");
+ gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, 0);
g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (set_clicked), dialog);
gtk_widget_show (button);
dialog->delete = button = gtk_button_new_with_mnemonic (_("_Remove"));
- gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, "");
+ gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, 0);
g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (delete_clicked), dialog);
gtk_widget_show (button);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list