This program is a structured note-taking application based on GTK v3. Write notes in instantly-formatted Markdown, organise them in a tree of folders that can be instantly navigated from within the program, and add hand-drawn notes by mouse, touchscreen, or digitizer. WWW: https://github.com/blackhole89/notekit
17 lines
450 B
C++
17 lines
450 B
C++
--- main.cpp.orig 2021-12-22 15:45:02 UTC
|
|
+++ main.cpp
|
|
@@ -1,13 +1,12 @@
|
|
#include "mainwindow.h"
|
|
#include <gtkmm/application.h>
|
|
|
|
-CMainWindow *mainwindow;
|
|
-
|
|
int main (int argc, char *argv[])
|
|
{
|
|
Gsv::init();
|
|
|
|
Glib::RefPtr<Gtk::Application> app = Gtk::Application::create(argc, argv, "com.github.blackhole89.notekit");
|
|
+ CMainWindow *mainwindow;
|
|
|
|
app->signal_activate().connect( [app,&mainwindow]() {
|
|
mainwindow=new CMainWindow(app);
|