~ubuntu-branches/ubuntu/utopic/gnome-settings-daemon/utopic

« back to all changes in this revision

Viewing changes to plugins/print-notifications/test-print-notifications.c

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher, Sebastien Bacher, Robert Ancell, Rico Tzschichholz, Iain Lane
  • Date: 2012-11-21 17:16:23 UTC
  • mfrom: (1.1.62)
  • Revision ID: package-import@ubuntu.com-20121121171623-k7iufrs14qoiozeq
Tags: 3.6.3-0ubuntu1
[ Sebastien Bacher ]
* New upstream version (lp: #1008840)
* debian/patches/git*,
  debian/patches/power-ignore-bad-dbus-requests.patch,
  debian/patches/power-ignore-bad-dbus-requests.patch,
  debian/patches/10_smaller_syndaemon_timeout.patch: 
  - dropped, those fixes are in the new version
* debian/control.in:
  - restore build-depends on libgnomekbd-dev, libxklavier-dev,
    drop the build-depends on libxkbfile-dev
* debian/patches/20_migrate_background_uri.patch:
  - dropped, it was only needed until the LTS
* debian/patches/40_xres_lcddefault.patch:
  - dropped, that was a workaround for libreoffice that shouldn't be
    needed and we should better fix libreoffice
* debian/patches/61_unity_use_application_indicator.patch:
  - drop the keyboard indicator code, that will need to be turned 
    into a proper indicator refactored to handle the new ibus config
* debian/patches/90_set_gmenus_xsettings.patch:
  - refreshed for the new version
* debian/patches/revert_new_ibus_use.patch:
  - revert keyboard code to our 3.4 version
* debian/patches/sync_keyboard_layout_to_accountsservice.patch:
  - dropped, the changes are included in the previous patch

[ Robert Ancell ]
* New upstream release
* debian/control:
  - Bump build-depends on libgnome-desktop-3-dev, libwacom-dev
  - Drop build-depends on libgnomekbd-dev, libxklavier-dev
  - Add build-depends on libxkbfile-dev

[ Rico Tzschichholz ]
* debian/control.in:
  - Build-depend on gtk-doc-tools

[ Iain Lane ]
* New upstream release
* Refresh patches and remove those applied upstream.
* Remove gstreamer BDs which are now obsolete. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
2
 
 *
3
 
 * Copyright (C) 2007 William Jon McCann <mccann@jhu.edu>
4
 
 *
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.
9
 
 *
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.
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., 59 Temple Place - Suite 330, Boston, MA
18
 
 * 02111-1307, USA.
19
 
 *
20
 
 *
21
 
 */
22
 
 
23
 
#include "config.h"
24
 
 
25
 
#include <stdlib.h>
26
 
#include <glib/gi18n.h>
27
 
#include <gtk/gtk.h>
28
 
 
 
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"
30
6
 
31
 
static GsdPrintNotificationsManager *manager = NULL;
32
 
 
33
 
int
34
 
main (int    argc,
35
 
      char **argv)
36
 
{
37
 
        GError  *error;
38
 
 
39
 
        bindtextdomain (GETTEXT_PACKAGE, GNOME_SETTINGS_LOCALEDIR);
40
 
        bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
41
 
        textdomain (GETTEXT_PACKAGE);
42
 
 
43
 
        g_setenv ("G_MESSAGES_DEBUG", "all", TRUE);
44
 
 
45
 
        error = NULL;
46
 
        if (! gtk_init_with_args (&argc, &argv, NULL, NULL, NULL, &error)) {
47
 
                fprintf (stderr, "%s", error->message);
48
 
                g_error_free (error);
49
 
                exit (1);
50
 
        }
51
 
 
52
 
        manager = gsd_print_notifications_manager_new ();
53
 
 
54
 
        error = NULL;
55
 
        gsd_print_notifications_manager_start (manager, &error);
56
 
 
57
 
        gtk_main ();
58
 
 
59
 
        return 0;
60
 
}
 
7
#include "test-plugin.h"