Commit 16224bc2 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Mark _get_types as G_GNUC_CONST

Signed-off-by: default avatarSebastian Ramacher <sebastian@ramacher.at>
parent f1d2dccf
......@@ -40,7 +40,7 @@ struct girara_entry_class_s
void (*paste_primary)(GiraraEntry*);
};
GType girara_entry_get_type(void) GIRARA_HIDDEN;
GType girara_entry_get_type(void) G_GNUC_CONST GIRARA_HIDDEN;
GiraraEntry* girara_entry_new(void) GIRARA_HIDDEN;
......
......@@ -43,7 +43,7 @@ struct girara_input_history_io_interface_s {
#define GIRARA_INPUT_HISTORY_IO_GET_INTERFACE(obj) \
(G_TYPE_INSTANCE_GET_INTERFACE((obj), GIRARA_TYPE_INPUT_HISTORY_IO, GiraraInputHistoryIOInterface))
GType girara_input_history_io_get_type(void);
GType girara_input_history_io_get_type(void) G_GNUC_CONST;
void girara_input_history_io_append(GiraraInputHistoryIO* io, const char* input);
......@@ -128,7 +128,7 @@ struct girara_input_history_class_s {
*
* @return the type
*/
GType girara_input_history_get_type(void);
GType girara_input_history_get_type(void) G_GNUC_CONST;
/**
* Create new input history object.
......
......@@ -36,7 +36,7 @@ struct girara_template_class_s {
*
* @return the type
*/
GType girara_template_get_type(void);
GType girara_template_get_type(void) G_GNUC_CONST;
/**
* Create new template object.
......
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