mirror of
https://github.com/transmission/transmission.git
synced 2025-12-27 13:41:17 +00:00
Don't use deprecated GTK APIs (#2129)
* Don't use deprecated Glib::Thread
* Don't use deprecated stock ID APIs
* Don't use deprecated operator const void* in IconInfo
* Don't use deprecated Gtk::TreeView::set_rules_hint()
* Don't use deprecated Gtk::Widget::set_margin_left()
* Don't use deprecated Gtk::UIManager
* Don't use deprecated sigc::mem_ptr accepting object pointer
* Enable {GDK,GIO,GLIB,GTK,PANGO,SIGCXX}MM deprecation guards
* Enable GTK deprecation guard
Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
@@ -181,8 +181,8 @@ StatsDialog::Impl::Impl(StatsDialog& dialog, Glib::RefPtr<Session> const& core)
|
||||
gtr_dialog_set_content(dialog_, *t);
|
||||
|
||||
updateStats();
|
||||
dialog_.signal_response().connect(sigc::mem_fun(this, &Impl::dialogResponse));
|
||||
dialog_.signal_response().connect(sigc::mem_fun(*this, &Impl::dialogResponse));
|
||||
update_stats_tag_ = Glib::signal_timeout().connect_seconds(
|
||||
sigc::mem_fun(this, &Impl::updateStats),
|
||||
sigc::mem_fun(*this, &Impl::updateStats),
|
||||
SECONDARY_WINDOW_REFRESH_INTERVAL_SECONDS);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user