Commit 0176b387 authored by Elliot Lee's avatar Elliot Lee

Use G_GNUC_CONST.



Use G_GNUC_CONST.
parent a10a7350
2000-08-29 Elliot Lee <sopwith@redhat.com>
* */*.h: Use G_GNUC_CONST.
2000-08-27 Havoc Pennington <hp@pobox.com>
* gtk/gtktextiter.c, gtk/gtktextiter.h: wrote lots of API docs,
......
2000-08-29 Elliot Lee <sopwith@redhat.com>
* */*.h: Use G_GNUC_CONST.
2000-08-27 Havoc Pennington <hp@pobox.com>
* gtk/gtktextiter.c, gtk/gtktextiter.h: wrote lots of API docs,
......
2000-08-29 Elliot Lee <sopwith@redhat.com>
* */*.h: Use G_GNUC_CONST.
2000-08-27 Havoc Pennington <hp@pobox.com>
* gtk/gtktextiter.c, gtk/gtktextiter.h: wrote lots of API docs,
......
2000-08-29 Elliot Lee <sopwith@redhat.com>
* */*.h: Use G_GNUC_CONST.
2000-08-27 Havoc Pennington <hp@pobox.com>
* gtk/gtktextiter.c, gtk/gtktextiter.h: wrote lots of API docs,
......
2000-08-29 Elliot Lee <sopwith@redhat.com>
* */*.h: Use G_GNUC_CONST.
2000-08-27 Havoc Pennington <hp@pobox.com>
* gtk/gtktextiter.c, gtk/gtktextiter.h: wrote lots of API docs,
......
2000-08-29 Elliot Lee <sopwith@redhat.com>
* */*.h: Use G_GNUC_CONST.
2000-08-27 Havoc Pennington <hp@pobox.com>
* gtk/gtktextiter.c, gtk/gtktextiter.h: wrote lots of API docs,
......
2000-08-29 Elliot Lee <sopwith@redhat.com>
* */*.h: Use G_GNUC_CONST.
2000-08-27 Havoc Pennington <hp@pobox.com>
* gtk/gtktextiter.c, gtk/gtktextiter.h: wrote lots of API docs,
......
......@@ -70,7 +70,7 @@ struct _GdkPixbufLoaderClass
};
GtkType gdk_pixbuf_loader_get_type (void);
GtkType gdk_pixbuf_loader_get_type (void) G_GNUC_CONST;
GdkPixbufLoader * gdk_pixbuf_loader_new (void);
GdkPixbufLoader * gdk_pixbuf_loader_new_with_type (const char *image_type);
gboolean gdk_pixbuf_loader_write (GdkPixbufLoader *loader,
......
......@@ -60,7 +60,7 @@ typedef void (* GdkPixbufDestroyNotify) (guchar *pixels, gpointer data);
GType gdk_pixbuf_get_type (void);
GType gdk_pixbuf_get_type (void) G_GNUC_CONST;
/* Reference counting */
......@@ -195,7 +195,7 @@ typedef enum {
GDK_PIXBUF_FRAME_REVERT
} GdkPixbufFrameAction;
GType gdk_pixbuf_animation_get_type (void);
GType gdk_pixbuf_animation_get_type (void) G_GNUC_CONST;
GdkPixbufAnimation *gdk_pixbuf_animation_new_from_file (const char *filename);
......
......@@ -55,7 +55,7 @@ struct _GnomeCanvasPixbufClass {
};
GtkType gnome_canvas_pixbuf_get_type (void);
GtkType gnome_canvas_pixbuf_get_type (void) G_GNUC_CONST;
......
......@@ -141,13 +141,13 @@ guint gdk_keyval_from_name (const gchar *keyval_name);
void gdk_keyval_convert_case (guint symbol,
guint *lower,
guint *upper);
guint gdk_keyval_to_upper (guint keyval);
guint gdk_keyval_to_lower (guint keyval);
gboolean gdk_keyval_is_upper (guint keyval);
gboolean gdk_keyval_is_lower (guint keyval);
guint gdk_keyval_to_upper (guint keyval) G_GNUC_CONST;
guint gdk_keyval_to_lower (guint keyval) G_GNUC_CONST;
gboolean gdk_keyval_is_upper (guint keyval) G_GNUC_CONST;
gboolean gdk_keyval_is_lower (guint keyval) G_GNUC_CONST;
guint32 gdk_keyval_to_unicode (guint keyval);
guint gdk_unicode_to_keyval (guint32 wc);
guint32 gdk_keyval_to_unicode (guint keyval) G_GNUC_CONST;
guint gdk_unicode_to_keyval (guint32 wc) G_GNUC_CONST;
/* Threading
*/
......
......@@ -55,7 +55,7 @@ struct _GdkColormapClass
};
GType gdk_colormap_get_type (void);
GType gdk_colormap_get_type (void) G_GNUC_CONST;
GdkColormap* gdk_colormap_new (GdkVisual *visual,
gboolean allocate);
......
......@@ -76,7 +76,7 @@ struct _GdkDragContextClass {
/* Drag and Drop */
GType gdk_drag_context_get_type (void);
GType gdk_drag_context_get_type (void) G_GNUC_CONST;
GdkDragContext * gdk_drag_context_new (void);
void gdk_drag_context_ref (GdkDragContext *context);
void gdk_drag_context_unref (GdkDragContext *context);
......
......@@ -186,7 +186,7 @@ struct _GdkGCClass
};
GType gdk_gc_get_type (void);
GType gdk_gc_get_type (void) G_GNUC_CONST;
GdkGC *gdk_gc_new (GdkDrawable *drawable);
GdkGC *gdk_gc_new_with_values (GdkDrawable *drawable,
GdkGCValues *values,
......
......@@ -56,7 +56,7 @@ struct _GdkImageClass
GObjectClass parent_class;
};
GType gdk_image_get_type (void);
GType gdk_image_get_type (void) G_GNUC_CONST;
GdkImage* gdk_image_new_bitmap (GdkVisual *visual,
gpointer data,
......
......@@ -190,8 +190,8 @@ void _gdk_windowing_window_destroy (GdkWindow *window,
gboolean foreign_destroy);
/* Implementation types */
GType _gdk_window_impl_get_type (void);
GType _gdk_pixmap_impl_get_type (void);
GType _gdk_window_impl_get_type (void) G_GNUC_CONST;
GType _gdk_pixmap_impl_get_type (void) G_GNUC_CONST;
/************************************
* Initialization and exit routines *
......
......@@ -34,7 +34,7 @@ struct _GdkPixmapObjectClass
};
GType gdk_pixmap_get_type (void);
GType gdk_pixmap_get_type (void) G_GNUC_CONST;
/* Pixmaps
*/
......
......@@ -16,7 +16,7 @@ typedef enum
GdkAtom gdk_atom_intern (const gchar *atom_name,
gboolean only_if_exists);
gchar* gdk_atom_name (GdkAtom atom);
gchar* gdk_atom_name (GdkAtom atom) G_GNUC_CONST;
gboolean gdk_property_get (GdkWindow *window,
GdkAtom property,
......
......@@ -45,7 +45,7 @@ struct _GdkRgbCmap {
void gdk_rgb_init (void);
gulong gdk_rgb_xpixel_from_rgb (guint32 rgb);
gulong gdk_rgb_xpixel_from_rgb (guint32 rgb) G_GNUC_CONST;
void gdk_rgb_gc_set_foreground (GdkGC *gc,
guint32 rgb);
void gdk_rgb_gc_set_background (GdkGC *gc,
......
......@@ -196,7 +196,7 @@ struct _GdkWindowObjectClass
/* Windows
*/
GType gdk_window_object_get_type (void);
GType gdk_window_object_get_type (void) G_GNUC_CONST;
GdkWindow* gdk_window_new (GdkWindow *parent,
GdkWindowAttr *attributes,
gint attributes_mask);
......
......@@ -93,7 +93,7 @@ typedef struct {
GdkDrawableFBClass klass;
} GdkPixmapFBClass;
GType gdk_drawable_impl_fb_get_type (void);
GType gdk_drawable_impl_fb_get_type (void) G_GNUC_CONST;
typedef struct {
gulong length;
......@@ -185,12 +185,7 @@ typedef struct {
GdkGCClass parent_class;
} GdkGCFBClass;
GType gdk_gc_fb_get_type (void);
#if 0
GdkGC * _gdk_fb_gc_new (GdkDrawable *drawable,
GdkGCValues *values,
GdkGCValuesMask values_mask);
#endif
GType gdk_gc_fb_get_type (void) G_GNUC_CONST;
/* Routines from gdkgeometry-fb.c */
......@@ -319,7 +314,7 @@ typedef struct {
int hbearing;
} PangoFBGlyphInfo;
GType pango_fb_font_get_type (void);
GType pango_fb_font_get_type (void) G_GNUC_CONST;
gboolean pango_fb_has_glyph(PangoFont *font, PangoGlyph glyph);
PangoGlyph pango_fb_get_unknown_glyph(PangoFont *font);
PangoFBGlyphInfo *pango_fb_font_get_glyph_info(PangoFont *font, PangoGlyph glyph);
......
......@@ -70,7 +70,7 @@ struct _GdkPixbufLoaderClass
};
GtkType gdk_pixbuf_loader_get_type (void);
GtkType gdk_pixbuf_loader_get_type (void) G_GNUC_CONST;
GdkPixbufLoader * gdk_pixbuf_loader_new (void);
GdkPixbufLoader * gdk_pixbuf_loader_new_with_type (const char *image_type);
gboolean gdk_pixbuf_loader_write (GdkPixbufLoader *loader,
......
......@@ -86,7 +86,7 @@ struct _GtkAccelEntry
/* Accelerators
*/
gboolean gtk_accelerator_valid (guint keyval,
GdkModifierType modifiers);
GdkModifierType modifiers) G_GNUC_CONST;
void gtk_accelerator_parse (const gchar *accelerator,
guint *accelerator_key,
GdkModifierType *accelerator_mods);
......
......@@ -76,7 +76,7 @@ struct _GtkAccelLabelClass
};
GtkType gtk_accel_label_get_type (void);
GtkType gtk_accel_label_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_accel_label_new (const gchar *string);
guint gtk_accel_label_get_accel_width (GtkAccelLabel *accel_label);
void gtk_accel_label_set_accel_widget (GtkAccelLabel *accel_label,
......
......@@ -69,7 +69,7 @@ struct _GtkAdjustmentClass
};
GtkType gtk_adjustment_get_type (void);
GtkType gtk_adjustment_get_type (void) G_GNUC_CONST;
GtkObject* gtk_adjustment_new (gfloat value,
gfloat lower,
gfloat upper,
......
......@@ -64,7 +64,7 @@ struct _GtkAlignmentClass
};
GtkType gtk_alignment_get_type (void);
GtkType gtk_alignment_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_alignment_new (gfloat xalign,
gfloat yalign,
gfloat xscale,
......
......@@ -62,7 +62,7 @@ struct _GtkArrowClass
};
GtkType gtk_arrow_get_type (void);
GtkType gtk_arrow_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_arrow_new (GtkArrowType arrow_type,
GtkShadowType shadow_type);
void gtk_arrow_set (GtkArrow *arrow,
......
......@@ -66,7 +66,7 @@ struct _GtkAspectFrameClass
};
GtkType gtk_aspect_frame_get_type (void);
GtkType gtk_aspect_frame_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_aspect_frame_new (const gchar *label,
gfloat xalign,
gfloat yalign,
......
......@@ -65,7 +65,7 @@ struct _GtkButtonBoxClass
};
GtkType gtk_button_box_get_type (void);
GtkType gtk_button_box_get_type (void) G_GNUC_CONST;
void gtk_button_box_get_child_size_default (gint *min_width, gint *min_height);
void gtk_button_box_get_child_ipadding_default (gint *ipad_x, gint *ipad_y);
......
......@@ -61,7 +61,7 @@ struct _GtkBinClass
};
GtkType gtk_bin_get_type (void);
GtkType gtk_bin_get_type (void) G_GNUC_CONST;
#ifdef __cplusplus
......
......@@ -73,7 +73,7 @@ struct _GtkBoxChild
};
GtkType gtk_box_get_type (void);
GtkType gtk_box_get_type (void) G_GNUC_CONST;
void gtk_box_pack_start (GtkBox *box,
GtkWidget *child,
gboolean expand,
......
......@@ -73,7 +73,7 @@ struct _GtkButtonClass
};
GtkType gtk_button_get_type (void);
GtkType gtk_button_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_button_new (void);
GtkWidget* gtk_button_new_with_label (const gchar *label);
void gtk_button_pressed (GtkButton *button);
......
......@@ -107,7 +107,7 @@ struct _GtkCalendarClass
};
GtkType gtk_calendar_get_type (void);
GtkType gtk_calendar_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_calendar_new (void);
gint gtk_calendar_select_month (GtkCalendar *calendar,
......
......@@ -65,7 +65,7 @@ struct _GtkCheckButtonClass
};
GtkType gtk_check_button_get_type (void);
GtkType gtk_check_button_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_check_button_new (void);
GtkWidget* gtk_check_button_new_with_label (const gchar *label);
......
......@@ -66,7 +66,7 @@ struct _GtkCheckMenuItemClass
};
GtkType gtk_check_menu_item_get_type (void);
GtkType gtk_check_menu_item_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_check_menu_item_new (void);
GtkWidget* gtk_check_menu_item_new_with_label (const gchar *label);
void gtk_check_menu_item_set_active (GtkCheckMenuItem *check_menu_item,
......
......@@ -436,7 +436,7 @@ struct _GtkCell
} u;
};
GtkType gtk_clist_get_type (void);
GtkType gtk_clist_get_type (void) G_GNUC_CONST;
/* constructors useful for gtk-- wrappers */
void gtk_clist_construct (GtkCList *clist,
......
......@@ -69,7 +69,7 @@ struct _GtkColorSelectionClass
/* ColorSelection */
GtkType gtk_color_selection_get_type (void);
GtkType gtk_color_selection_get_type (void) G_GNUC_CONST;
GtkWidget * gtk_color_selection_new (void);
void gtk_color_selection_set_update_policy (GtkColorSelection *colorsel,
GtkUpdateType policy);
......
......@@ -63,7 +63,7 @@ struct _GtkColorSelectionDialogClass
/* ColorSelectionDialog */
GtkType gtk_color_selection_dialog_get_type (void);
GtkType gtk_color_selection_dialog_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_color_selection_dialog_new (const gchar *title);
......
......@@ -71,7 +71,7 @@ struct _GtkComboClass {
GtkHBoxClass parent_class;
};
GtkType gtk_combo_get_type (void);
GtkType gtk_combo_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_combo_new (void);
/* the text in the entry must be or not be in the list */
......
......@@ -106,7 +106,7 @@ struct _GtkContainerClass
/* Application-level methods */
GtkType gtk_container_get_type (void);
GtkType gtk_container_get_type (void) G_GNUC_CONST;
void gtk_container_set_border_width (GtkContainer *container,
guint border_width);
void gtk_container_add (GtkContainer *container,
......
......@@ -170,7 +170,7 @@ struct _GtkCTreeNode {
* Creation, insertion, deletion *
***********************************************************/
GtkType gtk_ctree_get_type (void);
GtkType gtk_ctree_get_type (void) G_GNUC_CONST;
void gtk_ctree_construct (GtkCTree *ctree,
gint columns,
gint tree_column,
......
......@@ -80,7 +80,7 @@ struct _GtkCurveClass
};
GtkType gtk_curve_get_type (void);
GtkType gtk_curve_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_curve_new (void);
void gtk_curve_reset (GtkCurve *curve);
void gtk_curve_set_gamma (GtkCurve *curve, gfloat gamma);
......
......@@ -61,7 +61,7 @@ struct _GtkDataClass
};
GtkType gtk_data_get_type (void);
GtkType gtk_data_get_type (void) G_GNUC_CONST;
#ifdef __cplusplus
......
......@@ -64,7 +64,7 @@ struct _GtkDialogClass
};
GtkType gtk_dialog_get_type (void);
GtkType gtk_dialog_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_dialog_new (void);
......
......@@ -61,7 +61,7 @@ struct _GtkDrawingAreaClass
};
GtkType gtk_drawing_area_get_type (void);
GtkType gtk_drawing_area_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_drawing_area_new (void);
void gtk_drawing_area_size (GtkDrawingArea *darea,
gint width,
......
......@@ -128,7 +128,7 @@ struct _GtkEditableClass
gint position);
};
GtkType gtk_editable_get_type (void);
GtkType gtk_editable_get_type (void) G_GNUC_CONST;
void gtk_editable_select_region (GtkEditable *editable,
gint start,
gint end);
......
......@@ -79,7 +79,7 @@ struct _GtkEntryClass
GtkEditableClass parent_class;
};
GtkType gtk_entry_get_type (void);
GtkType gtk_entry_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_entry_new (void);
GtkWidget* gtk_entry_new_with_max_length (guint16 max);
void gtk_entry_set_text (GtkEntry *entry,
......
......@@ -58,7 +58,7 @@ struct _GtkEventBoxClass
GtkBinClass parent_class;
};
GtkType gtk_event_box_get_type (void);
GtkType gtk_event_box_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_event_box_new (void);
#ifdef __cplusplus
......
......@@ -83,7 +83,7 @@ struct _GtkFileSelectionClass
};
GtkType gtk_file_selection_get_type (void);
GtkType gtk_file_selection_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_file_selection_new (const gchar *title);
void gtk_file_selection_set_filename (GtkFileSelection *filesel,
const gchar *filename);
......
......@@ -69,7 +69,7 @@ struct _GtkFixedChild
};
GtkType gtk_fixed_get_type (void);
GtkType gtk_fixed_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_fixed_new (void);
void gtk_fixed_put (GtkFixed *fixed,
GtkWidget *widget,
......
......@@ -121,7 +121,7 @@ struct _GtkFontSelectionDialogClass
* see the comments in the GtkFontSelectionDialog functions.
*****************************************************************************/
GtkType gtk_font_selection_get_type (void);
GtkType gtk_font_selection_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_font_selection_new (void);
gchar* gtk_font_selection_get_font_name (GtkFontSelection *fontsel);
GdkFont* gtk_font_selection_get_font (GtkFontSelection *fontsel);
......@@ -139,7 +139,7 @@ void gtk_font_selection_set_preview_text (GtkFontSelection *fontsel,
* GtkFontSelection.
*****************************************************************************/
GtkType gtk_font_selection_dialog_get_type (void);
GtkType gtk_font_selection_dialog_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_font_selection_dialog_new (const gchar *title);
/* This returns the X Logical Font Description fontname, or NULL if no font
......
......@@ -68,7 +68,7 @@ struct _GtkFrameClass
};
GtkType gtk_frame_get_type (void);
GtkType gtk_frame_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_frame_new (const gchar *label);
void gtk_frame_set_label (GtkFrame *frame,
const gchar *label);
......
......@@ -67,7 +67,7 @@ struct _GtkGammaCurveClass
};
GtkType gtk_gamma_curve_get_type (void);
GtkType gtk_gamma_curve_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_gamma_curve_new (void);
......
......@@ -88,7 +88,7 @@ struct _GtkHandleBoxClass
};
GtkType gtk_handle_box_get_type (void);
GtkType gtk_handle_box_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_handle_box_new (void);
void gtk_handle_box_set_shadow_type (GtkHandleBox *handle_box,
GtkShadowType type);
......
......@@ -58,7 +58,7 @@ struct _GtkHButtonBoxClass
};
GtkType gtk_hbutton_box_get_type (void);
GtkType gtk_hbutton_box_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_hbutton_box_new (void);
/* buttons can be added by gtk_container_add() */
......
......@@ -59,7 +59,7 @@ struct _GtkHBoxClass
};
GtkType gtk_hbox_get_type (void);
GtkType gtk_hbox_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_hbox_new (gboolean homogeneous,
gint spacing);
......
......@@ -54,7 +54,7 @@ struct _GtkHPanedClass
GtkPanedClass parent_class;
};
GtkType gtk_hpaned_get_type (void);
GtkType gtk_hpaned_get_type (void) G_GNUC_CONST;
GtkWidget *gtk_hpaned_new (void);
#ifdef __cplusplus
......
......@@ -59,7 +59,7 @@ struct _GtkHRulerClass
};
GtkType gtk_hruler_get_type (void);
GtkType gtk_hruler_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_hruler_new (void);
......
......@@ -59,7 +59,7 @@ struct _GtkHScaleClass
};
GtkType gtk_hscale_get_type (void);
GtkType gtk_hscale_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_hscale_new (GtkAdjustment *adjustment);
......
......@@ -59,7 +59,7 @@ struct _GtkHScrollbarClass
};
GtkType gtk_hscrollbar_get_type (void);
GtkType gtk_hscrollbar_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_hscrollbar_new (GtkAdjustment *adjustment);
......
......@@ -59,7 +59,7 @@ struct _GtkHSeparatorClass
};
GtkType gtk_hseparator_get_type (void);
GtkType gtk_hseparator_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_hseparator_new (void);
......
......@@ -66,7 +66,7 @@ struct _GtkHSVClass
};
GtkType gtk_hsv_get_type (void);
GtkType gtk_hsv_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_hsv_new (void);
void gtk_hsv_set_color (GtkHSV *hsv,
double h,
......
......@@ -62,7 +62,7 @@ struct _GtkImageClass
};
GtkType gtk_image_get_type (void);
GtkType gtk_image_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_image_new (GdkImage *val,
GdkBitmap *mask);
void gtk_image_set (GtkImage *image,
......
......@@ -67,7 +67,7 @@ struct _GtkIMContextClass
void (*focus_out) (GtkIMContext *context);
};
GtkType gtk_im_context_get_type (void);
GtkType gtk_im_context_get_type (void) G_GNUC_CONST;
void gtk_im_context_set_client_window (GtkIMContext *context,
GdkWindow *window);
......
......@@ -52,7 +52,7 @@ struct _GtkIMContextSimpleClass
GtkIMContextClass parent_class;
};
GtkType gtk_im_context_simple_get_type (void);
GtkType gtk_im_context_simple_get_type (void) G_GNUC_CONST;
GtkIMContext *gtk_im_context_simple_new (void);
#ifdef __cplusplus
......
......@@ -50,7 +50,7 @@ struct _GtkIMMulticontextClass
GtkIMContextClass parent_class;
};
GtkType gtk_im_multicontext_get_type (void);
GtkType gtk_im_multicontext_get_type (void) G_GNUC_CONST;
GtkIMContext *gtk_im_multicontext_new (void);
#ifdef __cplusplus
......
......@@ -77,7 +77,7 @@ struct _GtkInputDialogClass
};
GtkType gtk_input_dialog_get_type (void);
GtkType gtk_input_dialog_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_input_dialog_new (void);
......
......@@ -59,7 +59,7 @@ struct _GtkInvisibleClass
GtkWidgetClass parent_class;
};
GtkType gtk_invisible_get_type (void);
GtkType gtk_invisible_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_invisible_new (void);
#ifdef __cplusplus
......
......@@ -63,7 +63,7 @@ struct _GtkItemClass
};
GtkType gtk_item_get_type (void);
GtkType gtk_item_get_type (void) G_GNUC_CONST;
void gtk_item_select (GtkItem *item);
void gtk_item_deselect (GtkItem *item);