/soc/2013/ankitkv/gobjectification: 8ca8acc22763: Added G_GNUC_N...

Ankit Vani a at nevitus.org
Mon Aug 19 17:05:47 EDT 2013


Changeset: 8ca8acc22763e72e29b3692aa8af0465e590215e
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-08-20 02:14 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/8ca8acc22763

Description:

Added G_GNUC_NULL_TERMINATED to [purple,finch,pidgin]_plugin_info_new() declarations

diffstat:

 finch/gntplugin.h   |  3 ++-
 libpurple/plugins.h |  3 ++-
 pidgin/gtkplugin.h  |  3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diffs (39 lines):

diff --git a/finch/gntplugin.h b/finch/gntplugin.h
--- a/finch/gntplugin.h
+++ b/finch/gntplugin.h
@@ -100,7 +100,8 @@ GType finch_plugin_info_get_type(void);
  *
  * @see purple_plugin_info_new()
  */
-FinchPluginInfo *finch_plugin_info_new(const char *first_property, ...);
+FinchPluginInfo *finch_plugin_info_new(const char *first_property, ...)
+                 G_GNUC_NULL_TERMINATED;
 
 /*@}*/
 
diff --git a/libpurple/plugins.h b/libpurple/plugins.h
--- a/libpurple/plugins.h
+++ b/libpurple/plugins.h
@@ -382,7 +382,8 @@ GType purple_plugin_info_get_type(void);
  * @see PURPLE_PLUGIN_ABI_VERSION
  * @see @ref plugin-ids
  */
-PurplePluginInfo *purple_plugin_info_new(const char *first_property, ...);
+PurplePluginInfo *purple_plugin_info_new(const char *first_property, ...)
+                  G_GNUC_NULL_TERMINATED;
 
 /**
  * Returns a plugin's ID.
diff --git a/pidgin/gtkplugin.h b/pidgin/gtkplugin.h
--- a/pidgin/gtkplugin.h
+++ b/pidgin/gtkplugin.h
@@ -91,7 +91,8 @@ GType pidgin_plugin_info_get_type(void);
  *
  * @see purple_plugin_info_new()
  */
-PidginPluginInfo *pidgin_plugin_info_new(const char *first_property, ...);
+PidginPluginInfo *pidgin_plugin_info_new(const char *first_property, ...)
+                  G_GNUC_NULL_TERMINATED;
 
 /**
  * Returns the configuration frame widget for a GTK+ plugin, if one



More information about the Commits mailing list