Add G_GNUC_CONST to all Katze type functions

This commit is contained in:
Christian Dywan 2010-01-16 07:01:34 +01:00
parent e1bfefb0ee
commit 07d4964e90
10 changed files with 10 additions and 10 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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

View File

@ -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

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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,

View File

@ -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

View File

@ -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);