13
0

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:
Paul Davis 2007-07-30 23:08:06 +00:00
parent abffdbe645
commit f59870b49f
2 changed files with 4 additions and 3 deletions

View File

@ -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);

View File

@ -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) {