|
|
|
@ -1,6 +1,7 @@ |
|
|
|
#include "selectiondialog.h" |
|
|
|
#include "selectiondialog.h" |
|
|
|
#include <algorithm> |
|
|
|
#include <algorithm> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _WIN32 |
|
|
|
namespace sigc { |
|
|
|
namespace sigc { |
|
|
|
template <typename Functor> |
|
|
|
template <typename Functor> |
|
|
|
struct functor_trait<Functor, false> { |
|
|
|
struct functor_trait<Functor, false> { |
|
|
|
@ -10,6 +11,7 @@ namespace sigc { |
|
|
|
typedef Functor functor_type; |
|
|
|
typedef Functor functor_type; |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
SelectionDialogBase::SelectionDialogBase(Gtk::TextView& text_view, Glib::RefPtr<Gtk::TextBuffer::Mark> start_mark, bool show_search_entry): text_view(text_view),
|
|
|
|
SelectionDialogBase::SelectionDialogBase(Gtk::TextView& text_view, Glib::RefPtr<Gtk::TextBuffer::Mark> start_mark, bool show_search_entry): text_view(text_view),
|
|
|
|
start_mark(start_mark), show_search_entry(show_search_entry), list_view_text(1, false, Gtk::SelectionMode::SELECTION_BROWSE) { |
|
|
|
start_mark(start_mark), show_search_entry(show_search_entry), list_view_text(1, false, Gtk::SelectionMode::SELECTION_BROWSE) { |
|
|
|
|