Fix build with libsigc++ 2.3.1 (fixes #4223)
This commit is contained in:
@@ -46,11 +46,7 @@ ExifPanel::ExifPanel () : idata (nullptr)
|
|||||||
exifTreeModel = Gtk::TreeStore::create (exifColumns);
|
exifTreeModel = Gtk::TreeStore::create (exifColumns);
|
||||||
exifTree->set_model (exifTreeModel);
|
exifTree->set_model (exifTreeModel);
|
||||||
exifTree->set_grid_lines (Gtk::TREE_VIEW_GRID_LINES_NONE);
|
exifTree->set_grid_lines (Gtk::TREE_VIEW_GRID_LINES_NONE);
|
||||||
exifTree->set_row_separator_func (
|
exifTree->set_row_separator_func (sigc::mem_fun(*this, &ExifPanel::rowSeperatorFunc));
|
||||||
[&] (const Glib::RefPtr<Gtk::TreeModel>& model, const Gtk::TreeModel::iterator & row)-> bool {
|
|
||||||
return row->get_value (exifColumns.isSeparator);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
delicon = RTImage::createFromFile ("gtk-close.png");
|
delicon = RTImage::createFromFile ("gtk-close.png");
|
||||||
keepicon = RTImage::createFromFile ("gtk-apply.png");
|
keepicon = RTImage::createFromFile ("gtk-apply.png");
|
||||||
@@ -540,6 +536,11 @@ void ExifPanel::showAlltoggled ()
|
|||||||
setImageData (idata);
|
setImageData (idata);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool ExifPanel::rowSeperatorFunc(const Glib::RefPtr<Gtk::TreeModel>& model, const Gtk::TreeModel::iterator& iter)
|
||||||
|
{
|
||||||
|
return iter->get_value(exifColumns.isSeparator);
|
||||||
|
}
|
||||||
|
|
||||||
void ExifPanel::editTag (Gtk::TreeModel::Children root, Glib::ustring name, Glib::ustring value)
|
void ExifPanel::editTag (Gtk::TreeModel::Children root, Glib::ustring name, Glib::ustring value)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@@ -93,6 +93,7 @@ private:
|
|||||||
void resetAllPressed();
|
void resetAllPressed();
|
||||||
void addPressed();
|
void addPressed();
|
||||||
void showAlltoggled();
|
void showAlltoggled();
|
||||||
|
bool rowSeperatorFunc(const Glib::RefPtr<Gtk::TreeModel>& model, const Gtk::TreeModel::iterator& iter);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ExifPanel ();
|
ExifPanel ();
|
||||||
|
Reference in New Issue
Block a user