console/libgnt/gntutils.c

changeset 15220
fc8b223f4b75
parent 14886
9f76d3a61aa7
child 15365
5a83efd6955d
equal deleted inserted replaced
15219:4d959b4386bb 15220:fc8b223f4b75
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

mercurial