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.
This commit is contained in:
Kjartan Maraas
2005-09-08 06:35:44 +00:00
committed by Kjartan Maraas
parent 17045b64d3
commit 2147c486b0
5 changed files with 15 additions and 9 deletions

View File

@@ -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;