diff 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
line wrap: on
line diff
--- a/console/libgnt/gntutils.c	Sun Dec 10 09:09:39 2006 +0000
+++ b/console/libgnt/gntutils.c	Sun Dec 10 09:26:44 2006 +0000
@@ -119,3 +119,18 @@
 	return dest;
 }
 
+gboolean gnt_boolean_handled_accumulator(GSignalInvocationHint *ihint,
+				  GValue                *return_accu,
+				  const GValue          *handler_return,
+				  gpointer               dummy)
+{
+	gboolean continue_emission;
+	gboolean signal_handled;
+
+	signal_handled = g_value_get_boolean (handler_return);
+	g_value_set_boolean (return_accu, signal_handled);
+	continue_emission = !signal_handled;
+
+	return continue_emission;
+}
+