1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
3
* Copyright (C) 2007 William Jon McCann <mccann@jhu.edu>
5
* This program is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU General Public License as
7
* published by the Free Software Foundation; either version 2 of the
8
* License, or (at your option) any later version.
10
* This program is distributed in the hope that it will be useful, but
11
* WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* General Public License for more details.
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., 59 Temple Place - Suite 330, Boston, MA
26
#include <glib/gi18n.h>
1
#define NEW gsd_print_notifications_manager_new
2
#define START gsd_print_notifications_manager_start
3
#define STOP gsd_print_notifications_manager_stop
4
#define MANAGER GsdPrintNotificationsManager
29
5
#include "gsd-print-notifications-manager.h"
31
static GsdPrintNotificationsManager *manager = NULL;
39
bindtextdomain (GETTEXT_PACKAGE, GNOME_SETTINGS_LOCALEDIR);
40
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
41
textdomain (GETTEXT_PACKAGE);
43
g_setenv ("G_MESSAGES_DEBUG", "all", TRUE);
46
if (! gtk_init_with_args (&argc, &argv, NULL, NULL, NULL, &error)) {
47
fprintf (stderr, "%s", error->message);
52
manager = gsd_print_notifications_manager_new ();
55
gsd_print_notifications_manager_start (manager, &error);
7
#include "test-plugin.h"