diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-02-23 06:00:18 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-02-23 06:00:18 +0000 |
commit | e8826941a626c168fbb39b67010989bbd7956b5a (patch) | |
tree | 4c084164d28e2003cee9a9d37944ff7edd8257d0 /net-im/telepathy-gabble/files/patch-src_jingle-factory.c | |
parent | 91012aaa12bc80de6b1d3416bc4a8cd1ba8ef10b (diff) | |
download | ports-e8826941a626c168fbb39b67010989bbd7956b5a.tar.gz ports-e8826941a626c168fbb39b67010989bbd7956b5a.zip |
Notes
Diffstat (limited to 'net-im/telepathy-gabble/files/patch-src_jingle-factory.c')
-rw-r--r-- | net-im/telepathy-gabble/files/patch-src_jingle-factory.c | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/net-im/telepathy-gabble/files/patch-src_jingle-factory.c b/net-im/telepathy-gabble/files/patch-src_jingle-factory.c deleted file mode 100644 index d27706e700b2..000000000000 --- a/net-im/telepathy-gabble/files/patch-src_jingle-factory.c +++ /dev/null @@ -1,42 +0,0 @@ ---- src/jingle-factory.c.orig 2009-02-04 15:04:28.000000000 -0500 -+++ src/jingle-factory.c 2009-02-04 15:10:48.000000000 -0500 -@@ -91,10 +91,10 @@ gabble_jingle_factory_init (GabbleJingle - g_free, g_object_unref); - - obj->transports = g_hash_table_new_full (g_str_hash, g_str_equal, -- NULL, NULL); -+ NULL, (GDestroyNotify) g_free); - - obj->content_types = g_hash_table_new_full (g_str_hash, g_str_equal, -- NULL, NULL); -+ NULL, (GDestroyNotify) g_free); - - priv->jingle_cb = NULL; - -@@ -606,16 +606,22 @@ void - gabble_jingle_factory_register_transport (GabbleJingleFactory *factory, - gchar *namespace, GType transport_type) - { -- g_hash_table_insert (factory->transports, namespace, -- GINT_TO_POINTER (transport_type)); -+ GabbleJingleFactoryHashType *htype; -+ -+ htype = g_new (GabbleJingleFactoryHashType, 1); -+ htype->type = transport_type; -+ g_hash_table_insert (factory->transports, namespace, htype); - } - - void - gabble_jingle_factory_register_content_type (GabbleJingleFactory *factory, - gchar *namespace, GType content_type) - { -- g_hash_table_insert (factory->content_types, namespace, -- GINT_TO_POINTER (content_type)); -+ GabbleJingleFactoryHashType *htype; -+ -+ htype = g_new (GabbleJingleFactoryHashType, 1); -+ htype->type = content_type; -+ g_hash_table_insert (factory->content_types, namespace, htype); - } - - static void |