diff finch/libgnt/gntbindable.h @ 28337:650ab9eb4b21

Add missing null sentinels, and help the compiler catch such errors.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 07 Oct 2009 21:17:10 +0000
parents 24dfef623410
children 44f53d3fc54f
line wrap: on
line diff
--- a/finch/libgnt/gntbindable.h	Wed Oct 07 20:23:16 2009 +0000
+++ b/finch/libgnt/gntbindable.h	Wed Oct 07 21:17:10 2009 +0000
@@ -166,7 +166,7 @@
  *
  * @return  @c TRUE if the action was performed successfully, @c FALSE otherwise.
  */
-gboolean gnt_bindable_perform_action_named(GntBindable *bindable, const char *name, ...);
+gboolean gnt_bindable_perform_action_named(GntBindable *bindable, const char *name, ...) G_GNUC_NULL_TERMINATED;
 
 /**
  * Returns a GntTree populated with "key" -> "binding" for the widget.