Fixed headers in galician translation file
[platform/upstream/glib.git] / gio / gnullapplication.c
1 /* GIO - GLib Input, Output and Streaming Library
2  *
3  * Copyright © 2010 Red Hat, Inc
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library 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 GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General
16  * Public License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
18  * Boston, MA 02111-1307, USA.
19  *
20  * Authors: Colin Walters <walters@verbum.org>
21  */
22
23 #include <string.h>
24 #include <stdlib.h>
25
26 #include "gioerror.h"
27
28 static gboolean
29 _g_application_platform_init (GApplication *app,
30                               GCancellable *cancellable,
31                               GError      **error)
32 {
33   return TRUE;
34 }
35
36 static gboolean
37 _g_application_platform_register (GApplication *app,
38                                   gboolean     *unique,
39                                   GCancellable *cancellable,
40                                   GError      **error)
41 {
42   return TRUE;
43 }
44
45 static void
46 _g_application_platform_on_actions_changed (GApplication *app)
47 {
48 }
49
50 static void
51 _g_application_platform_remote_invoke_action (GApplication  *app,
52                                               const gchar   *action,
53                                               GVariant      *platform_data)
54 {
55 }
56
57 static void
58 _g_application_platform_remote_quit (GApplication *app,
59                                      GVariant     *platform_data)
60 {
61 }
62
63 static void
64 _g_application_platform_default_quit (void)
65 {
66   exit (0);
67 }
68
69 static void
70 _g_application_platform_activate (GApplication *app,
71                                   GVariant     *data)
72 {
73   exit (0);
74 }