[gtkmm-documentation] Adapt to FileChooserAction as FileChooser::Action.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm-documentation] Adapt to FileChooserAction as FileChooser::Action.
- Date: Wed, 3 May 2017 08:35:57 +0000 (UTC)
commit 9c5e37f72031919cfb786b42952877ec61f98915
Author: Murray Cumming <murrayc murrayc com>
Date: Wed May 3 09:57:07 2017 +0200
Adapt to FileChooserAction as FileChooser::Action.
.../buttons/filechooserbutton/examplewindow.cc | 2 +-
.../dialogs/filechooserdialog/examplewindow.cc | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/examples/book/buttons/filechooserbutton/examplewindow.cc
b/examples/book/buttons/filechooserbutton/examplewindow.cc
index 155ca9f..5a738e6 100644
--- a/examples/book/buttons/filechooserbutton/examplewindow.cc
+++ b/examples/book/buttons/filechooserbutton/examplewindow.cc
@@ -18,7 +18,7 @@
#include <iostream>
ExampleWindow::ExampleWindow()
-: m_button("Select file", Gtk::FileChooserAction::OPEN)
+: m_button("Select file", Gtk::FileChooser::Action::OPEN)
{
set_default_size(200, -1);
diff --git a/examples/book/dialogs/filechooserdialog/examplewindow.cc
b/examples/book/dialogs/filechooserdialog/examplewindow.cc
index e59400b..9b3ab22 100644
--- a/examples/book/dialogs/filechooserdialog/examplewindow.cc
+++ b/examples/book/dialogs/filechooserdialog/examplewindow.cc
@@ -43,7 +43,7 @@ ExampleWindow::~ExampleWindow()
void ExampleWindow::on_button_folder_clicked()
{
Gtk::FileChooserDialog dialog("Please choose a folder",
- Gtk::FileChooserAction::SELECT_FOLDER);
+ Gtk::FileChooser::Action::SELECT_FOLDER);
dialog.set_transient_for(*this);
//Add response buttons the the dialog:
@@ -78,7 +78,7 @@ void ExampleWindow::on_button_folder_clicked()
void ExampleWindow::on_button_file_clicked()
{
Gtk::FileChooserDialog dialog("Please choose a file",
- Gtk::FileChooserAction::OPEN);
+ Gtk::FileChooser::Action::OPEN);
dialog.set_transient_for(*this);
//Add response buttons the the dialog:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]