aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-11-01 19:17:37 +0100
committerfiaxh <git@mx.ax.lt>2017-11-01 19:17:37 +0100
commitf6ac5bbd26638412a2289fd1d28ef12de1d7e8b5 (patch)
tree95d669e458dd4e99b289238a6b61e48d6feabd0f
parent81e05e6645e2bea08c73432c1b41ae6b73bd464f (diff)
downloaddino-f6ac5bbd26638412a2289fd1d28ef12de1d7e8b5.tar.gz
dino-f6ac5bbd26638412a2289fd1d28ef12de1d7e8b5.zip
small fixes
-rw-r--r--CMakeLists.txt1
-rw-r--r--main/src/ui/manage_accounts/dialog.vala2
2 files changed, 1 insertions, 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");