summaryrefslogtreecommitdiff
path: root/examples/options/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/options/main.cc')
-rw-r--r--examples/options/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/options/main.cc b/examples/options/main.cc
index ca7ea0cc..c0973adb 100644
--- a/examples/options/main.cc
+++ b/examples/options/main.cc
@@ -89,7 +89,7 @@ ExampleOptionGroup::ExampleOptionGroup()
entry6.set_long_name("x-string");
entry6.set_short_name('x');
entry6.set_description("A string with custom parsing");
- entry6.set_flags(Glib::OptionEntry::FLAG_OPTIONAL_ARG);
+ entry6.set_flags(Glib::OptionEntry::Flags::OPTIONAL_ARG);
m_arg_x_string = "not specified";
add_entry(entry6, sigc::mem_fun(*this, &ExampleOptionGroup::on_option_arg_string));
@@ -97,7 +97,7 @@ ExampleOptionGroup::ExampleOptionGroup()
entry7.set_long_name("x-filename");
entry7.set_short_name('X');
entry7.set_description("A filename with custom parsing");
- entry7.set_flags(Glib::OptionEntry::FLAG_OPTIONAL_ARG);
+ entry7.set_flags(Glib::OptionEntry::Flags::OPTIONAL_ARG);
m_arg_x_filename = "not specified";
add_entry_filename(entry7, sigc::mem_fun(*this, &ExampleOptionGroup::on_option_arg_filename));