Commit c8830f25 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

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)
parent 3c8b5b49
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)
2005-03-07 Matthias Clasen <mclasen@redhat.com>
Convert the gdk keyval-keyname tables to a big string
......
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)
2005-03-07 Matthias Clasen <mclasen@redhat.com>
Convert the gdk keyval-keyname tables to a big string
......
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)
2005-03-07 Matthias Clasen <mclasen@redhat.com>
Convert the gdk keyval-keyname tables to a big string
......
2005-03-08 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-core.h: Use G_GNUC_NULL_TERMINATED where
appropriate. (#165682, Marc Meissner)
2005-03-07 Matthias Clasen <mclasen@redhat.com>
* io-xpm.c: Use a generated table of offsets
......
......@@ -160,7 +160,7 @@ gboolean gdk_pixbuf_save (GdkPixbuf *pixbuf,
const char *filename,
const char *type,
GError **error,
...);
...) G_GNUC_NULL_TERMINATED;
gboolean gdk_pixbuf_savev (GdkPixbuf *pixbuf,
const char *filename,
......@@ -181,7 +181,7 @@ gboolean gdk_pixbuf_save_to_callback (GdkPixbuf *pixbuf,
gpointer user_data,
const char *type,
GError **error,
...);
...) G_GNUC_NULL_TERMINATED;
gboolean gdk_pixbuf_save_to_callbackv (GdkPixbuf *pixbuf,
GdkPixbufSaveFunc save_func,
......@@ -198,7 +198,7 @@ gboolean gdk_pixbuf_save_to_buffer (GdkPixbuf *pixbuf,
gsize *buffer_size,
const char *type,
GError **error,
...);
...) G_GNUC_NULL_TERMINATED;
gboolean gdk_pixbuf_save_to_bufferv (GdkPixbuf *pixbuf,
gchar **buffer,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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
......
......@@ -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,
......
......@@ -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
......
......@@ -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,
......
......@@ -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,
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment