Add G_GNUC_CONST to all Midori type functions

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

View file

@ -36,7 +36,7 @@ typedef struct _MidoriApp MidoriApp;
typedef struct _MidoriAppClass MidoriAppClass;
GType
midori_app_get_type (void);
midori_app_get_type (void) G_GNUC_CONST;
MidoriApp*
midori_app_new (void);

View file

@ -75,7 +75,7 @@ struct _MidoriBrowserClass
};
GType
midori_browser_get_type (void);
midori_browser_get_type (void) G_GNUC_CONST;
MidoriBrowser*
midori_browser_new (void);

View file

@ -46,7 +46,7 @@ struct _MidoriExtensionClass
};
GType
midori_extension_get_type (void);
midori_extension_get_type (void) G_GNUC_CONST;
gboolean
midori_extension_is_prepared (MidoriExtension* extension);

View file

@ -33,7 +33,7 @@ typedef struct _MidoriLocationAction MidoriLocationAction;
typedef struct _MidoriLocationActionClass MidoriLocationActionClass;
GType
midori_location_action_get_type (void);
midori_location_action_get_type (void) G_GNUC_CONST;
void
midori_location_action_freeze (MidoriLocationAction* location_action);

View file

@ -37,7 +37,7 @@ typedef struct _MidoriPanel MidoriPanel;
typedef struct _MidoriPanelClass MidoriPanelClass;
GType
midori_panel_get_type (void);
midori_panel_get_type (void) G_GNUC_CONST;
GtkWidget*
midori_panel_new (void);

View file

@ -40,7 +40,7 @@ struct _MidoriPreferencesClass
};
GType
midori_preferences_get_type (void);
midori_preferences_get_type (void) G_GNUC_CONST;
GtkWidget*
midori_preferences_new (GtkWindow* parent,

View file

@ -33,7 +33,7 @@ typedef struct _MidoriSearchAction MidoriSearchAction;
typedef struct _MidoriSearchActionClass MidoriSearchActionClass;
GType
midori_search_action_get_type (void);
midori_search_action_get_type (void) G_GNUC_CONST;
const gchar*
midori_search_action_get_text (MidoriSearchAction* action);

View file

@ -61,7 +61,7 @@ typedef struct _MidoriView MidoriView;
typedef struct _MidoriViewClass MidoriViewClass;
GType
midori_view_get_type (void);
midori_view_get_type (void) G_GNUC_CONST;
GtkWidget*
midori_view_new (KatzeNet* net);

View file

@ -50,7 +50,7 @@ struct _MidoriViewableIface
};
GType
midori_viewable_get_type (void);
midori_viewable_get_type (void) G_GNUC_CONST;
GtkWidget*
midori_viewable_new_from_uri (const gchar* uri);

View file

@ -149,7 +149,7 @@ midori_identity_get_type (void) G_GNUC_CONST;
(midori_identity_get_type ())
GType
midori_web_settings_get_type (void);
midori_web_settings_get_type (void) G_GNUC_CONST;
MidoriWebSettings*
midori_web_settings_new (void);