another minor fix for gtkmm breakage with Gtk::Settings::get_default() in not-entirely current gtkmm releases
git-svn-id: svn://localhost/ardour2/trunk@2191 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
abffdbe645
commit
f59870b49f
@ -168,9 +168,9 @@ PluginSelector::PluginSelector (PluginManager *mgr)
|
||||
|
||||
table->attach (*filter_box, 0, 7, 5, 6, FILL|EXPAND, FILL, 5, 5);
|
||||
|
||||
table->attach(*btn_add, 1, 2, 6, 7, FILL, FILL, 5, 5);
|
||||
table->attach(*btn_add, 1, 2, 6, 7, FILL, FILL, 5, 5);
|
||||
table->attach(*btn_remove, 3, 4, 6, 7, FILL, FILL, 5, 5);
|
||||
table->attach(*btn_update, 5, 6, 7, 7, FILL, FILL, 5, 5);
|
||||
table->attach(*btn_update, 5, 6, 7, 8, FILL, FILL, 5, 5);
|
||||
|
||||
table->attach(ascroller, 0, 7, 8, 10);
|
||||
|
||||
|
@ -129,7 +129,8 @@ UI::load_rcfile (string path, bool themechange)
|
||||
}
|
||||
|
||||
RC rc (path.c_str());
|
||||
RC::reset_styles(Gtk::Settings::get_default());
|
||||
// RC::reset_styles (Gtk::Settings::get_default());
|
||||
gtk_rc_reset_styles (gtk_settings_get_default());
|
||||
theme_changed.emit();
|
||||
|
||||
if (themechange) {
|
||||
|
Loading…
Reference in New Issue
Block a user