summaryrefslogtreecommitdiff
path: root/tests/gsignal.head.c
blob: c6b70ef9cd96e917f8846f120b19144fa9e6046a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
#include <stdio.h>

#include <glib.h>
#include <glib-object.h>
#include <gio/gio.h>

static void
object_notify_cb (GObject *gobject, GParamSpec *pspec, gpointer user_data)
{
	/* Something */
}

extern void
object_notify_proto_cb (GObject *gobject, GParamSpec *pspec, gpointer user_data);

extern void
object_notify_no_proto_cb ();

static gboolean
object_notify_invalid_return_cb (GObject *gobject, GParamSpec *pspec,
                                 gpointer user_data)
{
	/* Something */
	return FALSE;
}

static void
object_notify_invalid_parameter_subclass_cb (GIOStream *gobject,
                                             GParamSpec *pspec,
                                             gpointer user_data)
{
	/* Something */
}

static void
object_notify_invalid_parameter_const_cb (const GObject *gobject,
                                          GParamSpec *pspec,
                                          gpointer user_data)
{
	/* Something */
}

static void
object_notify_invalid_parameter_middle_cb (GObject *gobject,
                                           void *pspec,
                                           gpointer user_data)
{
	/* Something */
}

static void
object_notify_invalid_parameter_user_data_cb (GObject *gobject,
                                              GParamSpec *pspec,
                                              guint user_data)
{
	/* Something */
}

static void
object_notify_invalid_parameter_user_data_ptr_cb (GObject *gobject,
                                                  GParamSpec *pspec,
                                                  GObject *user_data)
{
	/* Something */
}

static void
object_notify_missing_parameter_cb (GObject *gobject, GParamSpec *pspec)
{
	/* Something */
}

static void
object_notify_extra_parameter_cb (GObject *gobject, GParamSpec *pspec,
                                  gpointer user_data, gpointer user_data2)
{
	/* Something */
}

static void
settings_changed_cb (GSettings *settings, gchar *key, gpointer user_data)
{
	/* Something */
}

static void
settings_changed_const_cb (GSettings *settings, const gchar *key,
                           gpointer user_data)
{
	/* Something */
}

static void
settings_changed_swapped_cb (gpointer user_data, const gchar *key,
                             GSettings *settings)
{
	/* Something */
}

static void
settings_changed_swapped_stream_cb (GInputStream *stream, const gchar *key,
                                    GSettings *settings)
{
	/* Something */
}

static void
application_activate_swapped_cb (GSettings *self, GApplication *app)
{
	/* Done */
}

static void
application_activate_swapped_excess_arguments_cb (GSettings *self,
                                                  const gchar *some_random_arg,
                                                  guint another_random_arg,
                                                  gpointer user_data)
{
	/* Done */
}

static void
dbus_object_interface_added_cb (GDBusObject *obj, GDBusInterface *iface,
                                gpointer user_data)
{
	/* Done */
}

static void
dbus_object_proxy_interface_added_cb (GDBusObjectProxy *obj,
                                      GDBusInterface *iface,
                                      gpointer user_data)
{
	/* Done */
}

int
main (void)
{