Add G_GNUC_CONST to all Katze type functions
This commit is contained in:
parent
e1bfefb0ee
commit
07d4964e90
10 changed files with 10 additions and 10 deletions
|
@ -33,7 +33,7 @@ typedef struct _KatzeArray KatzeArray;
|
|||
typedef struct _KatzeArrayClass KatzeArrayClass;
|
||||
|
||||
GType
|
||||
katze_array_get_type (void);
|
||||
katze_array_get_type (void) G_GNUC_CONST;
|
||||
|
||||
KatzeArray*
|
||||
katze_array_new (GType type);
|
||||
|
|
|
@ -35,7 +35,7 @@ typedef struct _KatzeArrayAction KatzeArrayAction;
|
|||
typedef struct _KatzeArrayActionClass KatzeArrayActionClass;
|
||||
|
||||
GType
|
||||
katze_array_action_get_type (void);
|
||||
katze_array_action_get_type (void) G_GNUC_CONST;
|
||||
|
||||
KatzeArray*
|
||||
katze_array_action_get_array (KatzeArrayAction* array_action);
|
||||
|
|
|
@ -35,7 +35,7 @@ typedef struct _KatzeHttpAuth KatzeHttpAuth;
|
|||
typedef struct _KatzeHttpAuthClass KatzeHttpAuthClass;
|
||||
|
||||
GType
|
||||
katze_http_auth_get_type (void);
|
||||
katze_http_auth_get_type (void) G_GNUC_CONST;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ typedef struct _KatzeHttpCookies KatzeHttpCookies;
|
|||
typedef struct _KatzeHttpCookiesClass KatzeHttpCookiesClass;
|
||||
|
||||
GType
|
||||
katze_http_cookies_get_type (void);
|
||||
katze_http_cookies_get_type (void) G_GNUC_CONST;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ struct _KatzeItemClass
|
|||
};
|
||||
|
||||
GType
|
||||
katze_item_get_type (void);
|
||||
katze_item_get_type (void) G_GNUC_CONST;
|
||||
|
||||
KatzeItem*
|
||||
katze_item_new (void);
|
||||
|
|
|
@ -35,7 +35,7 @@ typedef struct _KatzeNet KatzeNet;
|
|||
typedef struct _KatzeNetClass KatzeNetClass;
|
||||
|
||||
GType
|
||||
katze_net_get_type (void);
|
||||
katze_net_get_type (void) G_GNUC_CONST;
|
||||
|
||||
KatzeNet*
|
||||
katze_net_new (void);
|
||||
|
|
|
@ -46,7 +46,7 @@ struct _KatzePreferencesClass
|
|||
};
|
||||
|
||||
GType
|
||||
katze_preferences_get_type (void);
|
||||
katze_preferences_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GtkWidget*
|
||||
katze_preferences_new (GtkWindow* parent);
|
||||
|
|
|
@ -48,7 +48,7 @@ struct _KatzeScrolledClass
|
|||
};
|
||||
|
||||
GType
|
||||
katze_scrolled_get_type (void);
|
||||
katze_scrolled_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GtkWidget*
|
||||
katze_scrolled_new (GtkAdjustment* hadjustment,
|
||||
|
|
|
@ -36,7 +36,7 @@ typedef struct _KatzeSeparatorAction KatzeSeparatorAction;
|
|||
typedef struct _KatzeSeparatorActionClass KatzeSeparatorActionClass;
|
||||
|
||||
GType
|
||||
katze_separator_action_get_type (void);
|
||||
katze_separator_action_get_type (void) G_GNUC_CONST;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ struct _KatzeThrobberClass
|
|||
};
|
||||
|
||||
GType
|
||||
katze_throbber_get_type (void);
|
||||
katze_throbber_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GtkWidget*
|
||||
katze_throbber_new (void);
|
||||
|
|
Loading…
Reference in a new issue