blob: 718b3ab1aa633187499a48b0ea25e2899b4842fb [file] [log] [blame]
Stepan Salenikoviche3500cb2015-02-13 15:55:46 -05001/*
Stepan Salenikovichbe87d2c2016-01-25 14:14:34 -05002 * Copyright (C) 2015-2016 Savoir-faire Linux Inc.
Stepan Salenikoviche3500cb2015-02-13 15:55:46 -05003 * Author: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Stepan Salenikoviche3500cb2015-02-13 15:55:46 -050018 */
19
20#include <gtk/gtk.h>
Stepan Salenikoviche88f6692015-09-10 18:09:38 -040021#include <glib/gi18n.h>
22#include "config.h"
Stepan Salenikovichd81ef292015-02-17 18:47:37 -050023#include "ring_client.h"
Stepan Salenikoviche3500cb2015-02-13 15:55:46 -050024
25int
26main(int argc, char *argv[])
27{
Stepan Salenikoviche88f6692015-09-10 18:09:38 -040028 /* Internationalization; localization is done automatically by gtk during init */
29 bindtextdomain(PACKAGE_NAME, LOCALEDIR);
30 bind_textdomain_codeset(PACKAGE_NAME, "UTF-8");
31 textdomain(PACKAGE_NAME);
32
Stepan Salenikovich0d515e52015-05-19 16:31:05 -040033 RingClient *client = ring_client_new(argc, argv);
34 return g_application_run(G_APPLICATION(client), argc, argv);
Stepan Salenikoviche3500cb2015-02-13 15:55:46 -050035}