[gtkmm] FileChooserDialog: Drop unneeded explicit on ctor



commit 54de0ac3b064613096ea8c5b637f9f297b2d614b
Author: Daniel Boles <dboles src gnome org>
Date:   Mon Mar 27 18:09:28 2017 +0100

    FileChooserDialog: Drop unneeded explicit on ctor
    
    This is only useful to us if the constructor can be invoked with one
    argument (i.e. it only has 1, or the subsequent have default values).
    That is not true here, so the explicit keyword is a semantic mistake.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=780004

 gtk/src/filechooserdialog.hg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/src/filechooserdialog.hg b/gtk/src/filechooserdialog.hg
index 768fea3..c7def9b 100644
--- a/gtk/src/filechooserdialog.hg
+++ b/gtk/src/filechooserdialog.hg
@@ -41,7 +41,7 @@ class FileChooserDialog
   _UNMANAGEABLE
 public:
   _IGNORE(gtk_file_chooser_dialog_new)
-  explicit FileChooserDialog(Gtk::Window& parent, const Glib::ustring& title, FileChooserAction action = 
FILE_CHOOSER_ACTION_OPEN);
+  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);
 };
 


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