|
Packit |
1baceb |
/* gnome-screenshot.c - Take a screenshot of the desktop
|
|
Packit |
1baceb |
*
|
|
Packit |
1baceb |
* Copyright (C) 2001 Jonathan Blandford <jrb@alum.mit.edu>
|
|
Packit |
1baceb |
* Copyright (C) 2006 Emmanuele Bassi <ebassi@gnome.org>
|
|
Packit |
1baceb |
* Copyright (C) 2008 Cosimo Cecchi <cosimoc@gnome.org>
|
|
Packit |
1baceb |
*
|
|
Packit |
1baceb |
* This program is free software; you can redistribute it and/or
|
|
Packit |
1baceb |
* modify it under the terms of the GNU General Public License as
|
|
Packit |
1baceb |
* published by the Free Software Foundation; either version 2 of the
|
|
Packit |
1baceb |
* License, or (at your option) any later version.
|
|
Packit |
1baceb |
*
|
|
Packit |
1baceb |
* This program is distributed in the hope that it will be useful,
|
|
Packit |
1baceb |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
1baceb |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit |
1baceb |
* GNU General Public License for more details.
|
|
Packit |
1baceb |
*
|
|
Packit |
1baceb |
* You should have received a copy of the GNU General Public License
|
|
Packit |
1baceb |
* along with this program; if not, write to the Free Software
|
|
Packit |
1baceb |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
|
Packit |
1baceb |
* USA
|
|
Packit |
1baceb |
*/
|
|
Packit |
1baceb |
|
|
Packit |
1baceb |
/* THERE ARE NO FEATURE REQUESTS ALLOWED */
|
|
Packit |
1baceb |
/* IF YOU WANT YOUR OWN FEATURE -- WRITE THE DAMN THING YOURSELF (-: */
|
|
Packit |
1baceb |
/* MAYBE I LIED... -jrb */
|
|
Packit |
1baceb |
|
|
Packit |
1baceb |
#include "config.h"
|
|
Packit |
1baceb |
|
|
Packit |
1baceb |
#include <locale.h>
|
|
Packit |
1baceb |
|
|
Packit |
1baceb |
#include <glib/gi18n.h>
|
|
Packit |
1baceb |
|
|
Packit |
1baceb |
#include "screenshot-application.h"
|
|
Packit |
1baceb |
|
|
Packit |
1baceb |
/* main */
|
|
Packit |
1baceb |
int
|
|
Packit |
1baceb |
main (int argc, char *argv[])
|
|
Packit |
1baceb |
{
|
|
Packit |
1baceb |
gint result;
|
|
Packit |
1baceb |
ScreenshotApplication *app;
|
|
Packit |
1baceb |
|
|
Packit |
1baceb |
setlocale (LC_ALL, "");
|
|
Packit |
1baceb |
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
|
|
Packit |
1baceb |
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
|
Packit |
1baceb |
textdomain (GETTEXT_PACKAGE);
|
|
Packit |
1baceb |
|
|
Packit |
1baceb |
app = screenshot_application_new ();
|
|
Packit |
1baceb |
result = g_application_run (G_APPLICATION (app), argc, argv);
|
|
Packit |
1baceb |
g_object_unref (app);
|
|
Packit |
1baceb |
|
|
Packit |
1baceb |
return result;
|
|
Packit |
1baceb |
}
|