[Xfce4-commits] <midori:master> Add G_GNUC_CONST to all Midori type functions

Christian Dywan noreply at xfce.org
Sun Jan 17 18:16:02 CET 2010


Updating branch refs/heads/master
         to 2d8c8bebf57f9a8f6aaa0a52ca98a1620918bac8 (commit)
       from 07d4964e90da03173f302c1fda8379a30fc60e5c (commit)

commit 2d8c8bebf57f9a8f6aaa0a52ca98a1620918bac8
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sat Jan 16 07:05:16 2010 +0100

    Add G_GNUC_CONST to all Midori type functions

 midori/midori-app.h            |    2 +-
 midori/midori-browser.h        |    2 +-
 midori/midori-extension.h      |    2 +-
 midori/midori-locationaction.h |    2 +-
 midori/midori-panel.h          |    2 +-
 midori/midori-preferences.h    |    2 +-
 midori/midori-searchaction.h   |    2 +-
 midori/midori-view.h           |    2 +-
 midori/midori-viewable.h       |    2 +-
 midori/midori-websettings.h    |    2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/midori/midori-app.h b/midori/midori-app.h
index 1bdc00e..7c28096 100644
--- a/midori/midori-app.h
+++ b/midori/midori-app.h
@@ -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);
diff --git a/midori/midori-browser.h b/midori/midori-browser.h
index 0834028..1b3d873 100644
--- a/midori/midori-browser.h
+++ b/midori/midori-browser.h
@@ -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);
diff --git a/midori/midori-extension.h b/midori/midori-extension.h
index 60b7d01..9fceb98 100644
--- a/midori/midori-extension.h
+++ b/midori/midori-extension.h
@@ -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);
diff --git a/midori/midori-locationaction.h b/midori/midori-locationaction.h
index 33c3a39..2dc5631 100644
--- a/midori/midori-locationaction.h
+++ b/midori/midori-locationaction.h
@@ -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);
diff --git a/midori/midori-panel.h b/midori/midori-panel.h
index 704fd95..d9a1fe1 100644
--- a/midori/midori-panel.h
+++ b/midori/midori-panel.h
@@ -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);
diff --git a/midori/midori-preferences.h b/midori/midori-preferences.h
index 3b4ca2e..89c6f9d 100644
--- a/midori/midori-preferences.h
+++ b/midori/midori-preferences.h
@@ -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,
diff --git a/midori/midori-searchaction.h b/midori/midori-searchaction.h
index 760dd4e..9eb269f 100644
--- a/midori/midori-searchaction.h
+++ b/midori/midori-searchaction.h
@@ -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);
diff --git a/midori/midori-view.h b/midori/midori-view.h
index a8a7452..d3fa089 100644
--- a/midori/midori-view.h
+++ b/midori/midori-view.h
@@ -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);
diff --git a/midori/midori-viewable.h b/midori/midori-viewable.h
index 80a6a10..fca3e60 100644
--- a/midori/midori-viewable.h
+++ b/midori/midori-viewable.h
@@ -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);
diff --git a/midori/midori-websettings.h b/midori/midori-websettings.h
index 0826ad5..ca9f3c9 100644
--- a/midori/midori-websettings.h
+++ b/midori/midori-websettings.h
@@ -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);



More information about the Xfce4-commits mailing list