Mercurial > pidgin
comparison console/libgnt/gntutils.c @ 15158:68385f5bbd61
[gaim-migrate @ 17944]
Generate the marshal-things during make when necessary.
Allow specifying the hash-functions for a GntTree.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 10 Dec 2006 09:26:44 +0000 |
parents | 6ec7e963d186 |
children | 7a52dce840b4 |
comparison
equal
deleted
inserted
replaced
15157:67ccc195074b | 15158:68385f5bbd61 |
---|---|
117 GHashTable *dest = g_hash_table_new_full(hash, equal, key_d, value_d); | 117 GHashTable *dest = g_hash_table_new_full(hash, equal, key_d, value_d); |
118 g_hash_table_foreach(src, duplicate_values, dest); | 118 g_hash_table_foreach(src, duplicate_values, dest); |
119 return dest; | 119 return dest; |
120 } | 120 } |
121 | 121 |
122 gboolean gnt_boolean_handled_accumulator(GSignalInvocationHint *ihint, | |
123 GValue *return_accu, | |
124 const GValue *handler_return, | |
125 gpointer dummy) | |
126 { | |
127 gboolean continue_emission; | |
128 gboolean signal_handled; | |
129 | |
130 signal_handled = g_value_get_boolean (handler_return); | |
131 g_value_set_boolean (return_accu, signal_handled); | |
132 continue_emission = !signal_handled; | |
133 | |
134 return continue_emission; | |
135 } | |
136 |