summaryrefslogtreecommitdiffstats
path: root/src/inkscape-main.cpp
blob: d4fe68bb86d1171338695a5782c83ea2814bf8aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Inkscape - an ambitious vector drawing program
 *
 * Authors:
 * Tavmjong Bah
 *
 * (C) 2018 Tavmjong Bah
 *
 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
 */

#ifdef HAVE_CONFIG_H
# include "config.h"
#endif

#include "inkscape-application.h"


int main(int argc, char *argv[])
{

    if (gtk_init_check(NULL, NULL))
        return (new ConcreteInkscapeApplication<Gtk::Application>())->run(argc, argv);
    else
        return (new ConcreteInkscapeApplication<Gio::Application>())->run(argc, argv);
}

/*
  Local Variables:
  mode:c++
  c-file-style:"stroustrup"
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
  indent-tabs-mode:nil
  fill-column:99
  End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :