16 lines
453 B
C++
16 lines
453 B
C++
#include "MyWin.hh"
|
|
#define GETTEXT_PACKAGE "gtk125"
|
|
#define PROGRAMNAME_LOCALEDIR "./po"
|
|
|
|
int main(int argc,char ** argv){
|
|
// Initalize gettext
|
|
bindtextdomain(GETTEXT_PACKAGE, PROGRAMNAME_LOCALEDIR);
|
|
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
|
|
textdomain(GETTEXT_PACKAGE);
|
|
|
|
// Create application and run
|
|
auto app = Gtk::Application::create(argc,argv,"org.gtk.daleclack");
|
|
MyWin window;
|
|
return app->run(window);
|
|
}
|