]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/dialog.cpp
Properly filter out duplicate constraints
[libs/gltk.git] / source / dialog.cpp
index 5eea60964ec3d694ff94b001cc8a7702473824d8..cc4c1bf6a51f67cd1b00ecd46a9fc3cb2fda0c90 100644 (file)
@@ -1,19 +1,10 @@
-/* $Id$
-
-This file is part of libmspgltk
-Copyright © 2010  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #include "button.h"
 #include "dialog.h"
 
 namespace Msp {
 namespace GLtk {
 
-Dialog::Dialog(const Resources &r):
-       Widget(r),
-       Panel(r),
+Dialog::Dialog():
        stale(false)
 { }
 
@@ -41,7 +32,7 @@ void Dialog::response(int code)
 {
        on_response(code);
        signal_response.emit(code);
-       stale=true;
+       stale = true;
 }
 
 } // namespace GLtk