|
|
|
@ -1,8 +1,8 @@ |
|
|
|
#include "selectiondialog.h" |
|
|
|
#include "selectiondialog.h" |
|
|
|
#include <algorithm> |
|
|
|
#include <algorithm> |
|
|
|
|
|
|
|
|
|
|
|
#ifndef _WIN32 |
|
|
|
|
|
|
|
namespace sigc { |
|
|
|
namespace sigc { |
|
|
|
|
|
|
|
#ifndef SIGC_FUNCTORS_DEDUCE_RESULT_TYPE_WITH_DECLTYPE |
|
|
|
template <typename Functor> |
|
|
|
template <typename Functor> |
|
|
|
struct functor_trait<Functor, false> { |
|
|
|
struct functor_trait<Functor, false> { |
|
|
|
typedef decltype (::sigc::mem_fun(std::declval<Functor&>(), |
|
|
|
typedef decltype (::sigc::mem_fun(std::declval<Functor&>(), |
|
|
|
@ -10,8 +10,10 @@ namespace sigc { |
|
|
|
typedef typename _intermediate::result_type result_type; |
|
|
|
typedef typename _intermediate::result_type result_type; |
|
|
|
typedef Functor functor_type; |
|
|
|
typedef Functor functor_type; |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
#else |
|
|
|
|
|
|
|
SIGC_FUNCTORS_DEDUCE_RESULT_TYPE_WITH_DECLTYPE |
|
|
|
#endif |
|
|
|
#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) { |
|
|
|
|