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

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);
......
Supports Markdown
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