[gtkmm] Scale: Constructor: Remove the default parameter value.



commit 46a9af5d41d268f6230b98a882a33147774a67dd
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Sep 10 11:22:28 2013 +0200

    Scale: Constructor: Remove the default parameter value.
    
    * gtk/src/scale.hg: Because we already have a default constructor,
      and this made it ambiguous.
      Bug #707810 (cheshirekow)

 gtk/src/scale.hg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/src/scale.hg b/gtk/src/scale.hg
index 7b2caef..3933c51 100644
--- a/gtk/src/scale.hg
+++ b/gtk/src/scale.hg
@@ -50,7 +50,7 @@ public:
   /**
    * @newin{3,2}
    */
-  explicit Scale(Orientation orientation = ORIENTATION_HORIZONTAL);
+  explicit Scale(Orientation orientation);
 
   //Note that we try to use the same default parameter value as the default property value.
   explicit Scale(const Glib::RefPtr<Adjustment>& adjustment, Orientation orientation = 
ORIENTATION_HORIZONTAL);


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