globally remove all trailing whitespace from ardour code base.
[ardour.git] / libs / gtkmm2ext / gtkmm2ext / selector.h
index 841742db03230e6060d19bf6856da4da044dfba3..9e511dd89c3725339875231538f25695efe916d8 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 1999 Paul Barton-Davis 
+    Copyright (C) 1999 Paul Barton-Davis
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     the Free Software Foundation; either version 2 of the License, or
 #ifndef __gtkselector_h__
 #define __gtkselector_h__
 
+#ifdef interface
+#undef interface
+#endif
+
 #include <string>
 #include <vector>
 
 #include <gtkmm.h>
 
+#include "gtkmm2ext/visibility.h"
+
 namespace Gtkmm2ext {
 
-class TreeView_Selector : public Gtk::TreeView
+class LIBGTKMM2EXT_API TreeView_Selector : public Gtk::TreeView
 {
 public:
        TreeView_Selector() {}
@@ -38,12 +44,12 @@ protected:
 
 typedef void (SelectorRefillFunction)(Glib::RefPtr<Gtk::ListStore>, void *);
 
-class Selector : public Gtk::VBox
+class LIBGTKMM2EXT_API Selector : public Gtk::VBox
 {
        friend class Gtkmm2ext::TreeView_Selector;
 
 public:
-       Selector (SelectorRefillFunction, void *arg, 
+       Selector (SelectorRefillFunction, void *arg,
                  std::vector<std::string> titles);
 
        virtual ~Selector ();
@@ -90,8 +96,6 @@ public:
        void *refill_arg;
        gint selected_row;
        gint selected_column;
-       gint chosen_row;
-       gint chosen_column;
 
        void refill ();
        void chosen ();