From f6ac5bbd26638412a2289fd1d28ef12de1d7e8b5 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Wed, 1 Nov 2017 19:17:37 +0100 Subject: [PATCH] small fixes --- CMakeLists.txt | 1 - main/src/ui/manage_accounts/dialog.vala | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 688321ee..a1097125 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,6 @@ endif() AddCFlagIfSupported(-Wall) AddCFlagIfSupported(-Werror=format-security) -AddValaCFlagIfSupported(-Wno-deprecated-declarations) AddValaCFlagIfSupported(-Wno-incompatible-pointer-types) AddValaCFlagIfSupported(-Wno-pointer-sign) AddValaCFlagIfSupported(-Wno-int-conversion) diff --git a/main/src/ui/manage_accounts/dialog.vala b/main/src/ui/manage_accounts/dialog.vala index 8fbdb630..5ce16ec9 100644 --- a/main/src/ui/manage_accounts/dialog.vala +++ b/main/src/ui/manage_accounts/dialog.vala @@ -129,7 +129,7 @@ public class Dialog : Gtk.Dialog { Gtk.MessageDialog msg = new Gtk.MessageDialog ( this, Gtk.DialogFlags.DESTROY_WITH_PARENT | Gtk.DialogFlags.MODAL, Gtk.MessageType.WARNING, Gtk.ButtonsType.OK_CANCEL, - _("Remove account %s?".printf(account_item.jid_label.get_text()))); + _("Remove account %s?"), account_item.jid_label.get_text()); msg.secondary_text = "You won't be able to access your conversation history anymore."; // TODO remove history! Button ok_button = msg.get_widget_for_response(ResponseType.OK) as Button; ok_button.label = _("Remove");