From 7546e9658e8b5dd442df189c6d859d9616139fd3 Mon Sep 17 00:00:00 2001 From: eidheim Date: Fri, 18 Mar 2016 10:43:01 +0100 Subject: [PATCH] Got rid of double dialog.set_position calls in dialogs.cc --- src/dialogs.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/dialogs.cc b/src/dialogs.cc index 832c5be..c135a4c 100644 --- a/src/dialogs.cc +++ b/src/dialogs.cc @@ -50,8 +50,6 @@ std::string Dialog::gtk_dialog(const boost::filesystem::path &path, const std::s gtk_file_chooser_set_current_folder(reinterpret_cast(dialog.gobj()), current_path.string().c_str()); } - dialog.set_position(Gtk::WindowPosition::WIN_POS_CENTER_ON_PARENT); - for (auto &button : buttons) dialog.add_button(button.first, button.second); return dialog.run() == Gtk::RESPONSE_OK ? dialog.get_filename() : "";