From 489aebab5e5afbcd17dd9cfc5b3fc3c545b86bb9 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Tue, 27 Sep 2005 17:31:32 +0000 Subject: [PATCH] app/core/gimp-gui.h app/core/gimp-utils.h app/core/gimpimage-undo.h 2005-09-27 Sven Neumann * app/core/gimp-gui.h * app/core/gimp-utils.h * app/core/gimpimage-undo.h * app/text/gimptextlayer.h * app/widgets/gimpeditor.h * app/widgets/gimpmenufactory.h * app/widgets/gimpmessagedialog.h * app/widgets/gimpsessioninfo.h * app/widgets/gimptooldialog.h * app/widgets/gimpviewabledialog.h: use G_GNUC_NULL_TERMINATED where appropriate. --- ChangeLog | 14 ++++++++++++++ app/core/gimp-gui.h | 4 ++-- app/core/gimp-utils.h | 2 +- app/core/gimpimage-undo.h | 2 +- app/text/gimptextlayer.h | 2 +- app/widgets/gimpeditor.h | 2 +- app/widgets/gimpmenufactory.h | 2 +- app/widgets/gimpmessagedialog.h | 2 +- app/widgets/gimpsessioninfo.h | 4 ++-- app/widgets/gimptooldialog.h | 2 +- app/widgets/gimpviewabledialog.h | 2 +- 11 files changed, 26 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9e26b2e2b0..9f6c225bf4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2005-09-27 Sven Neumann + + * app/core/gimp-gui.h + * app/core/gimp-utils.h + * app/core/gimpimage-undo.h + * app/text/gimptextlayer.h + * app/widgets/gimpeditor.h + * app/widgets/gimpmenufactory.h + * app/widgets/gimpmessagedialog.h + * app/widgets/gimpsessioninfo.h + * app/widgets/gimptooldialog.h + * app/widgets/gimpviewabledialog.h: use G_GNUC_NULL_TERMINATED + where appropriate. + 2005-09-27 Sven Neumann * libgimp/gimpprocbrowserdialog.h diff --git a/app/core/gimp-gui.h b/app/core/gimp-gui.h index e9cb47ae68..447a94b078 100644 --- a/app/core/gimp-gui.h +++ b/app/core/gimp-gui.h @@ -154,12 +154,12 @@ gboolean gimp_pdb_dialog_new (Gimp *gimp, const gchar *title, const gchar *callback_name, const gchar *object_name, - ...); + ...) G_GNUC_NULL_TERMINATED; gboolean gimp_pdb_dialog_set (Gimp *gimp, GimpContainer *container, const gchar *callback_name, const gchar *object_name, - ...); + ...) G_GNUC_NULL_TERMINATED; gboolean gimp_pdb_dialog_close (Gimp *gimp, GimpContainer *container, const gchar *callback_name); diff --git a/app/core/gimp-utils.h b/app/core/gimp-utils.h index 55d3d3397a..898ed127b1 100644 --- a/app/core/gimp-utils.h +++ b/app/core/gimp-utils.h @@ -52,7 +52,7 @@ gboolean gimp_boolean_handled_accum (GSignalInvocationHint *ihint, GParameter * gimp_parameters_append (GType object_type, GParameter *params, gint *n_params, - ...); + ...) G_GNUC_NULL_TERMINATED; GParameter * gimp_parameters_append_valist (GType object_type, GParameter *params, gint *n_params, diff --git a/app/core/gimpimage-undo.h b/app/core/gimpimage-undo.h index 796ea0cc37..eeace761b0 100644 --- a/app/core/gimpimage-undo.h +++ b/app/core/gimpimage-undo.h @@ -39,7 +39,7 @@ GimpUndo * gimp_image_undo_push (GimpImage *gimage, GimpDirtyMask dirty_mask, GimpUndoPopFunc pop_func, GimpUndoFreeFunc free_func, - ...); + ...) G_GNUC_NULL_TERMINATED; GimpUndo * gimp_image_undo_can_compress (GimpImage *gimage, GType object_type, diff --git a/app/text/gimptextlayer.h b/app/text/gimptextlayer.h index ba7ea722e7..22180bab3f 100644 --- a/app/text/gimptextlayer.h +++ b/app/text/gimptextlayer.h @@ -66,7 +66,7 @@ void gimp_text_layer_discard (GimpTextLayer *layer); void gimp_text_layer_set (GimpTextLayer *layer, const gchar *undo_desc, const gchar *first_property_name, - ...); + ...) G_GNUC_NULL_TERMINATED; gboolean gimp_drawable_is_text_layer (GimpDrawable *drawable); diff --git a/app/widgets/gimpeditor.h b/app/widgets/gimpeditor.h index 66ff63f7df..44bc1564bf 100644 --- a/app/widgets/gimpeditor.h +++ b/app/widgets/gimpeditor.h @@ -86,7 +86,7 @@ GtkWidget * gimp_editor_add_stock_box (GimpEditor *editor, GtkWidget * gimp_editor_add_action_button (GimpEditor *editor, const gchar *group_name, const gchar *action_name, - ...); + ...) G_GNUC_NULL_TERMINATED; void gimp_editor_set_show_name (GimpEditor *editor, gboolean show); diff --git a/app/widgets/gimpmenufactory.h b/app/widgets/gimpmenufactory.h index d06175c84d..04a858435d 100644 --- a/app/widgets/gimpmenufactory.h +++ b/app/widgets/gimpmenufactory.h @@ -69,7 +69,7 @@ GimpMenuFactory * gimp_menu_factory_new (Gimp *gimp, void gimp_menu_factory_manager_register (GimpMenuFactory *factory, const gchar *identifier, const gchar *first_group, - ...); + ...) G_GNUC_NULL_TERMINATED; GimpUIManager * gimp_menu_factory_manager_new (GimpMenuFactory *factory, const gchar *identifier, diff --git a/app/widgets/gimpmessagedialog.h b/app/widgets/gimpmessagedialog.h index 6368771afd..b93fe8e784 100644 --- a/app/widgets/gimpmessagedialog.h +++ b/app/widgets/gimpmessagedialog.h @@ -56,7 +56,7 @@ GtkWidget * gimp_message_dialog_new (const gchar *title, GtkDialogFlags flags, GimpHelpFunc help_func, const gchar *help_id, - ...); + ...) G_GNUC_NULL_TERMINATED; G_END_DECLS diff --git a/app/widgets/gimpsessioninfo.h b/app/widgets/gimpsessioninfo.h index c5942025b7..9d0d92b8ca 100644 --- a/app/widgets/gimpsessioninfo.h +++ b/app/widgets/gimpsessioninfo.h @@ -83,10 +83,10 @@ GimpSessionInfoAux * void gimp_session_info_aux_free (GimpSessionInfoAux *aux); GList * gimp_session_info_aux_new_from_props (GObject *object, - ...); + ...) G_GNUC_NULL_TERMINATED; void gimp_session_info_aux_set_props (GObject *object, GList *aux, - ...); + ...) G_GNUC_NULL_TERMINATED; void gimp_session_info_save (GimpSessionInfo *info, const gchar *factory_name, diff --git a/app/widgets/gimptooldialog.h b/app/widgets/gimptooldialog.h index cfd73dca87..1c2cfdcf5d 100644 --- a/app/widgets/gimptooldialog.h +++ b/app/widgets/gimptooldialog.h @@ -46,7 +46,7 @@ GType gimp_tool_dialog_get_type (void) G_GNUC_CONST; GtkWidget * gimp_tool_dialog_new (GimpToolInfo *tool_info, GtkWidget *parent, const gchar *desc, - ...); + ...) G_GNUC_NULL_TERMINATED; #endif /* __GIMP_TOOL_DIALOG_H__ */ diff --git a/app/widgets/gimpviewabledialog.h b/app/widgets/gimpviewabledialog.h index b215ff4b84..a0d1b71635 100644 --- a/app/widgets/gimpviewabledialog.h +++ b/app/widgets/gimpviewabledialog.h @@ -63,7 +63,7 @@ GtkWidget * gimp_viewable_dialog_new (GimpViewable *viewable, GtkWidget *parent, GimpHelpFunc help_func, const gchar *help_id, - ...); + ...) G_GNUC_NULL_TERMINATED; void gimp_viewable_dialog_set_viewable (GimpViewableDialog *dialog, GimpViewable *viewable);