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

@@ -2195,7 +2195,6 @@ g_type_register_fundamental (GType type_id,
const GTypeFundamentalInfo *finfo,
GTypeFlags flags)
{
GTypeFundamentalInfo *node_finfo;
TypeNode *node;
g_return_val_if_uninitialized (static_quark_type_flags, g_type_init, 0);
@@ -2231,7 +2230,6 @@ g_type_register_fundamental (GType type_id,
G_WRITE_LOCK (&type_rw_lock);
node = type_node_fundamental_new_W (type_id, type_name, finfo->type_flags);
node_finfo = type_node_fundamental_info_I (node);
type_add_flags_W (node, flags);
if (check_type_info_I (NULL, NODE_FUNDAMENTAL_TYPE (node), type_name, info))