summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-03-08 05:52:55 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-03-08 05:52:55 +0000
commitc8830f2504dc0066eef4ba9098d418c317a40427 (patch)
tree3a6ad07061409f968a2c50e872340161c9ce72b5 /gtk
parent3c8b5b490c618ca1316a6bc72df33a3d032a0f40 (diff)
downloadgtk+-c8830f2504dc0066eef4ba9098d418c317a40427.tar.gz
Use G_GNUC_NULL_TERMINATED where appropriate. (#165682, Marc Meissner)
2005-03-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwidget.h: * gtk/gtktreeview.h: * gtk/gtktreeviewcolumn.h: * gtk/gtktextbuffer.h: * gtk/gtkobject.h: * gtk/gtkfilechooserdialog.h: * gtk/gtkdialog.h: * gtk/gtkcontainer.h: * gtk/gtkcelllayout.h: * gtk/gtkaboutdialog.h: Use G_GNUC_NULL_TERMINATED where appropriate. (#165682, Marc Meissner)
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkaboutdialog.h2
-rw-r--r--gtk/gtkcelllayout.h2
-rw-r--r--gtk/gtkcontainer.h6
-rw-r--r--gtk/gtkdialog.h4
-rw-r--r--gtk/gtkfilechooserdialog.h4
-rw-r--r--gtk/gtkobject.h6
-rw-r--r--gtk/gtktextbuffer.h6
-rw-r--r--gtk/gtktreeview.h2
-rw-r--r--gtk/gtktreeviewcolumn.h4
-rw-r--r--gtk/gtkwidget.h6
10 files changed, 21 insertions, 21 deletions
diff --git a/gtk/gtkaboutdialog.h b/gtk/gtkaboutdialog.h
index 67e04e37a7..003667541b 100644
--- a/gtk/gtkaboutdialog.h
+++ b/gtk/gtkaboutdialog.h
@@ -62,7 +62,7 @@ GType gtk_about_dialog_get_type (void) G_GNUC_CON
GtkWidget *gtk_about_dialog_new (void);
void gtk_show_about_dialog (GtkWindow *parent,
const gchar *first_property_name,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
G_CONST_RETURN gchar *gtk_about_dialog_get_name (GtkAboutDialog *about);
void gtk_about_dialog_set_name (GtkAboutDialog *about,
diff --git a/gtk/gtkcelllayout.h b/gtk/gtkcelllayout.h
index 818bf02f36..3b4d375a59 100644
--- a/gtk/gtkcelllayout.h
+++ b/gtk/gtkcelllayout.h
@@ -80,7 +80,7 @@ void gtk_cell_layout_pack_end (GtkCellLayout *cell_layout,
void gtk_cell_layout_clear (GtkCellLayout *cell_layout);
void gtk_cell_layout_set_attributes (GtkCellLayout *cell_layout,
GtkCellRenderer *cell,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
void gtk_cell_layout_add_attribute (GtkCellLayout *cell_layout,
GtkCellRenderer *cell,
const gchar *attribute,
diff --git a/gtk/gtkcontainer.h b/gtk/gtkcontainer.h
index 035cf3260b..afb8b12fdc 100644
--- a/gtk/gtkcontainer.h
+++ b/gtk/gtkcontainer.h
@@ -174,15 +174,15 @@ GParamSpec** gtk_container_class_list_child_properties (GObjectClass *cclass,
void gtk_container_add_with_properties (GtkContainer *container,
GtkWidget *widget,
const gchar *first_prop_name,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
void gtk_container_child_set (GtkContainer *container,
GtkWidget *child,
const gchar *first_prop_name,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
void gtk_container_child_get (GtkContainer *container,
GtkWidget *child,
const gchar *first_prop_name,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
void gtk_container_child_set_valist (GtkContainer *container,
GtkWidget *child,
const gchar *first_property_name,
diff --git a/gtk/gtkdialog.h b/gtk/gtkdialog.h
index f42371ebc2..27ffa201d9 100644
--- a/gtk/gtkdialog.h
+++ b/gtk/gtkdialog.h
@@ -130,7 +130,7 @@ GtkWidget* gtk_dialog_new_with_buttons (const gchar *title,
GtkWindow *parent,
GtkDialogFlags flags,
const gchar *first_button_text,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
void gtk_dialog_add_action_widget (GtkDialog *dialog,
GtkWidget *child,
@@ -140,7 +140,7 @@ GtkWidget* gtk_dialog_add_button (GtkDialog *dialog,
gint response_id);
void gtk_dialog_add_buttons (GtkDialog *dialog,
const gchar *first_button_text,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
void gtk_dialog_set_response_sensitive (GtkDialog *dialog,
gint response_id,
diff --git a/gtk/gtkfilechooserdialog.h b/gtk/gtkfilechooserdialog.h
index d0ff1b2d1d..44cf39c0c6 100644
--- a/gtk/gtkfilechooserdialog.h
+++ b/gtk/gtkfilechooserdialog.h
@@ -55,13 +55,13 @@ GtkWidget *gtk_file_chooser_dialog_new (const gchar *title
GtkWindow *parent,
GtkFileChooserAction action,
const gchar *first_button_text,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
GtkWidget *gtk_file_chooser_dialog_new_with_backend (const gchar *title,
GtkWindow *parent,
GtkFileChooserAction action,
const gchar *backend,
const gchar *first_button_text,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
G_END_DECLS
diff --git a/gtk/gtkobject.h b/gtk/gtkobject.h
index 8831360a57..9346f079e4 100644
--- a/gtk/gtkobject.h
+++ b/gtk/gtkobject.h
@@ -126,7 +126,7 @@ void gtk_object_destroy (GtkObject *object);
GtkObject* gtk_object_new (GtkType type,
const gchar *first_property_name,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
GtkObject* gtk_object_ref (GtkObject *object);
void gtk_object_unref (GtkObject *object);
void gtk_object_weakref (GtkObject *object,
@@ -204,10 +204,10 @@ typedef enum
#define GTK_ARG_READWRITE (GTK_ARG_READABLE | GTK_ARG_WRITABLE)
void gtk_object_get (GtkObject *object,
const gchar *first_property_name,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
void gtk_object_set (GtkObject *object,
const gchar *first_property_name,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
void gtk_object_add_arg_type (const gchar *arg_name,
GtkType arg_type,
guint arg_flags,
diff --git a/gtk/gtktextbuffer.h b/gtk/gtktextbuffer.h
index 6d9d3b8774..a944b85944 100644
--- a/gtk/gtktextbuffer.h
+++ b/gtk/gtktextbuffer.h
@@ -186,14 +186,14 @@ void gtk_text_buffer_insert_with_tags (GtkTextBuffer *buffer,
const gchar *text,
gint len,
GtkTextTag *first_tag,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
void gtk_text_buffer_insert_with_tags_by_name (GtkTextBuffer *buffer,
GtkTextIter *iter,
const gchar *text,
gint len,
const gchar *first_tag_name,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
/* Delete from the buffer */
void gtk_text_buffer_delete (GtkTextBuffer *buffer,
@@ -292,7 +292,7 @@ void gtk_text_buffer_remove_all_tags (GtkTextBuffer *buffer,
GtkTextTag *gtk_text_buffer_create_tag (GtkTextBuffer *buffer,
const gchar *tag_name,
const gchar *first_property_name,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
/* Obtain iterators pointed at various places, then you can move the
* iterator around using the GtkTextIter operators
diff --git a/gtk/gtktreeview.h b/gtk/gtktreeview.h
index 69376b8663..8e8850e7f3 100644
--- a/gtk/gtktreeview.h
+++ b/gtk/gtktreeview.h
@@ -167,7 +167,7 @@ gint gtk_tree_view_insert_column_with_attributes (GtkTreeView
gint position,
const gchar *title,
GtkCellRenderer *cell,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
gint gtk_tree_view_insert_column_with_data_func (GtkTreeView *tree_view,
gint position,
const gchar *title,
diff --git a/gtk/gtktreeviewcolumn.h b/gtk/gtktreeviewcolumn.h
index 41132c060a..765cea54da 100644
--- a/gtk/gtktreeviewcolumn.h
+++ b/gtk/gtktreeviewcolumn.h
@@ -124,7 +124,7 @@ GType gtk_tree_view_column_get_type (void) G_GNUC_C
GtkTreeViewColumn *gtk_tree_view_column_new (void);
GtkTreeViewColumn *gtk_tree_view_column_new_with_attributes (const gchar *title,
GtkCellRenderer *cell,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
void gtk_tree_view_column_pack_start (GtkTreeViewColumn *tree_column,
GtkCellRenderer *cell,
gboolean expand);
@@ -139,7 +139,7 @@ void gtk_tree_view_column_add_attribute (GtkTreeViewCol
gint column);
void gtk_tree_view_column_set_attributes (GtkTreeViewColumn *tree_column,
GtkCellRenderer *cell_renderer,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
void gtk_tree_view_column_set_cell_data_func (GtkTreeViewColumn *tree_column,
GtkCellRenderer *cell_renderer,
GtkTreeCellDataFunc func,
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 951c560c51..7ba87459e9 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -435,7 +435,7 @@ struct _GtkWidgetShapeInfo
GType gtk_widget_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_widget_new (GType type,
const gchar *first_property_name,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
GtkWidget* gtk_widget_ref (GtkWidget *widget);
void gtk_widget_unref (GtkWidget *widget);
void gtk_widget_destroy (GtkWidget *widget);
@@ -444,7 +444,7 @@ void gtk_widget_destroyed (GtkWidget *widget,
#ifndef GTK_DISABLE_DEPRECATED
void gtk_widget_set (GtkWidget *widget,
const gchar *first_property_name,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
#endif /* GTK_DISABLE_DEPRECATED */
void gtk_widget_unparent (GtkWidget *widget);
void gtk_widget_show (GtkWidget *widget);
@@ -716,7 +716,7 @@ void gtk_widget_style_get_valist (GtkWidget *widget,
va_list var_args);
void gtk_widget_style_get (GtkWidget *widget,
const gchar *first_property_name,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
/* Set certain default values to be used at widget creation time.