[glibmm] Options example: For the remaining arg(s), remove description.



commit e74463e3277528ec8df2c7c3b8977d22d6274a78
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Apr 8 19:54:24 2014 +0200

    Options example: For the remaining arg(s), remove description.
    
    The long description doesn't seem to be necessary for the
    G_OPTION_REMAINING entry.

 examples/options/main.cc |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/examples/options/main.cc b/examples/options/main.cc
index ee524da..1ef290b 100644
--- a/examples/options/main.cc
+++ b/examples/options/main.cc
@@ -98,7 +98,6 @@ ExampleOptionGroup::ExampleOptionGroup()
 
   Glib::OptionEntry entry_remaining;
   entry_remaining.set_long_name(G_OPTION_REMAINING);
-  entry_remaining.set_arg_description(G_OPTION_REMAINING);
 
   add_entry(entry_remaining, m_remaining_list);
 }


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