[gtkmm] Gtk::FileChooserDialog: Remove ctors with backend parameter



commit bd97e557771cdce23bdc815288db2ffdd8c083c9
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Fri Mar 24 18:09:01 2017 +0100

    Gtk::FileChooserDialog: Remove ctors with backend parameter
    
    gtk_file_chooser_dialog_new_with_backend() was deprecated in gtk+ 2.14
    and removed in gtk+-3. The corresponding ctors in FileChooserDialog should
    have been removed long ago.

 gtk/src/filechooserdialog.ccg |   13 -------------
 gtk/src/filechooserdialog.hg  |    3 ---
 2 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/gtk/src/filechooserdialog.ccg b/gtk/src/filechooserdialog.ccg
index 1d92e14..b4746ae 100644
--- a/gtk/src/filechooserdialog.ccg
+++ b/gtk/src/filechooserdialog.ccg
@@ -35,18 +35,5 @@ FileChooserDialog::FileChooserDialog(const Glib::ustring& title, FileChooserActi
 {
 }
 
-FileChooserDialog::FileChooserDialog(const Glib::ustring& title, FileChooserAction action, const 
Glib::ustring& backend)
-:
-  _CONSTRUCT("title", title.c_str(), "action", (GtkFileChooserAction)action, "file-system-backend", 
backend.c_str())
-{
-}
-
-FileChooserDialog::FileChooserDialog(Gtk::Window& parent, const Glib::ustring& title, FileChooserAction 
action, const Glib::ustring& backend)
-:
-  _CONSTRUCT("title", title.c_str(), "action", (GtkFileChooserAction)action, "file-system-backend", 
backend.c_str())
-{
-  set_transient_for(parent);
-}
-
 } // namespace Gtk
 
diff --git a/gtk/src/filechooserdialog.hg b/gtk/src/filechooserdialog.hg
index 17e79df..768fea3 100644
--- a/gtk/src/filechooserdialog.hg
+++ b/gtk/src/filechooserdialog.hg
@@ -43,9 +43,6 @@ public:
   _IGNORE(gtk_file_chooser_dialog_new)
   explicit FileChooserDialog(Gtk::Window& parent, const Glib::ustring& title, FileChooserAction action = 
FILE_CHOOSER_ACTION_OPEN);
   explicit FileChooserDialog(const Glib::ustring& title, FileChooserAction action = 
FILE_CHOOSER_ACTION_OPEN);
-
-  explicit FileChooserDialog(Gtk::Window& parent, const Glib::ustring& title, FileChooserAction action, 
const Glib::ustring& backend);
-  explicit FileChooserDialog(const Glib::ustring& title, FileChooserAction action, const Glib::ustring& 
backend);
 };
 
 } // namespace Gtk


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]