Move markup collect tests to the test framework
[glib.git] / gio / gnullapplication.c
blob83c1cee81ac1516af435c0742035b313d8bab92b
1 /* GIO - GLib Input, Output and Streaming Library
3 * Copyright © 2010 Red Hat, Inc
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.
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.
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.
20 * Authors: Colin Walters <walters@verbum.org>
23 #include <string.h>
24 #include <stdlib.h>
26 #include "gioerror.h"
28 static gboolean
29 _g_application_platform_init (GApplication *app,
30 GCancellable *cancellable,
31 GError **error)
33 return TRUE;
36 static gboolean
37 _g_application_platform_register (GApplication *app,
38 gboolean *unique,
39 GCancellable *cancellable,
40 GError **error)
42 return TRUE;
45 static void
46 _g_application_platform_on_actions_changed (GApplication *app)
50 static void
51 _g_application_platform_remote_invoke_action (GApplication *app,
52 const gchar *action,
53 GVariant *platform_data)
57 static void
58 _g_application_platform_remote_quit (GApplication *app,
59 GVariant *platform_data)
63 static void
64 _g_application_platform_default_quit (void)
66 exit (0);
69 static void
70 _g_application_platform_activate (GApplication *app,
71 GVariant *data)
73 exit (0);