Simplified build_filename

This commit is contained in:
Beep6581
2016-03-07 23:59:09 +01:00
parent f4b1e4a837
commit 8b9c6cc527

View File

@@ -309,7 +309,7 @@ int main(int argc, char **argv)
Gtk::Settings::get_for_screen(screen)->property_gtk_theme_name() = "Adwaita";
Gtk::Settings::get_for_screen(screen)->property_gtk_application_prefer_dark_theme() = true;
Glib::ustring filename = Glib::build_filename(argv0 + "/themes/", options.theme + ".css");
Glib::ustring filename = Glib::build_filename(argv0, "themes", options.theme + ".css");
cssRT = Gtk::CssProvider::create();
try {