diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2005-09-08 06:35:44 +0000 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2005-09-08 06:35:44 +0000 |
commit | 2147c486b0afb90ea32fdce9fefedcbebc2375a6 (patch) | |
tree | 54dcf715d17682da928ba10de0ad88c0402055b1 /gobject/testgobject.c | |
parent | 17045b64d3627dd4b9ebc5454b18137e97fbedb2 (diff) |
Remove some unused code. Same here And here Mark some functions static.
2005-09-08 Kjartan Maraas <kmaraas@gnome.org>
* gclosure.c: (g_closure_set_meta_marshal): Remove some unused
code.
* gsignal.c: (g_signal_emitv): Same here
* gtype.c: (g_type_register_fundamental): And here
* testgobject.c: Mark some functions static.
Diffstat (limited to 'gobject/testgobject.c')
-rw-r--r-- | gobject/testgobject.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gobject/testgobject.c b/gobject/testgobject.c index 16c4cc15a..27237641b 100644 --- a/gobject/testgobject.c +++ b/gobject/testgobject.c @@ -40,7 +40,7 @@ static void iface_base_init (TestIfaceClass *iface); static void iface_base_finalize (TestIfaceClass *iface); static void print_foo (TestIface *tiobj, const gchar *string); -GType +static GType test_iface_get_type (void) { static GType test_iface_type = 0; @@ -103,7 +103,7 @@ test_object_test_iface_init (gpointer giface, /* initialize stuff */ iface->print_string = print_foo; } -void +static void iface_print_string (TestIface *tiobj, const gchar *string) { @@ -156,7 +156,7 @@ static gboolean test_signal_accumulator (GSignalInvocationHint *ihint, static gchar* test_object_test_signal (TestObject *tobject, TestIface *iface_object, gpointer tdata); -GType +static GType test_object_get_type (void) { static GType test_object_type = 0; |