19 lines
406 B
C++
19 lines
406 B
C++
/*
|
|
* Copyright 2014 (c) Anna Schumaker.
|
|
*/
|
|
extern "C" {
|
|
#include <core/version.h>
|
|
#include <gui/builder.h>
|
|
}
|
|
#include <gui/ocarina.h>
|
|
|
|
const std::string appname = "Ocarina ";
|
|
|
|
void gui_window_init(const gchar *icon)
|
|
{
|
|
GtkWindow *window = GTK_WINDOW(gui_builder_widget("o_window"));
|
|
|
|
gtk_window_set_title(window, (appname + get_version()).c_str());
|
|
gtk_window_set_icon_from_file(window, icon, NULL);
|
|
}
|