[Xfce4-commits] <midori:master> Add G_GNUC_CONST to all Katze type functions
Christian Dywan
noreply at xfce.org
Sun Jan 17 18:16:01 CET 2010
Updating branch refs/heads/master
to 07d4964e90da03173f302c1fda8379a30fc60e5c (commit)
from e1bfefb0ee9bcdab27d38a641427a9a9e24f2144 (commit)
commit 07d4964e90da03173f302c1fda8379a30fc60e5c
Author: Christian Dywan <christian at twotoasts.de>
Date: Sat Jan 16 07:01:34 2010 +0100
Add G_GNUC_CONST to all Katze type functions
katze/katze-array.h | 2 +-
katze/katze-arrayaction.h | 2 +-
katze/katze-http-auth.h | 2 +-
katze/katze-http-cookies.h | 2 +-
katze/katze-item.h | 2 +-
katze/katze-net.h | 2 +-
katze/katze-preferences.h | 2 +-
katze/katze-scrolled.h | 2 +-
katze/katze-separatoraction.h | 2 +-
katze/katze-throbber.h | 2 +-
10 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/katze/katze-array.h b/katze/katze-array.h
index af3370d..0695360 100644
--- a/katze/katze-array.h
+++ b/katze/katze-array.h
@@ -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);
diff --git a/katze/katze-arrayaction.h b/katze/katze-arrayaction.h
index 062ffbd..2e8c462 100644
--- a/katze/katze-arrayaction.h
+++ b/katze/katze-arrayaction.h
@@ -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);
diff --git a/katze/katze-http-auth.h b/katze/katze-http-auth.h
index 908646f..bbf2e39 100644
--- a/katze/katze-http-auth.h
+++ b/katze/katze-http-auth.h
@@ -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
diff --git a/katze/katze-http-cookies.h b/katze/katze-http-cookies.h
index 97caa27..b791a50 100644
--- a/katze/katze-http-cookies.h
+++ b/katze/katze-http-cookies.h
@@ -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
diff --git a/katze/katze-item.h b/katze/katze-item.h
index eaf7400..344f501 100644
--- a/katze/katze-item.h
+++ b/katze/katze-item.h
@@ -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);
diff --git a/katze/katze-net.h b/katze/katze-net.h
index 13f5026..d57a74b 100644
--- a/katze/katze-net.h
+++ b/katze/katze-net.h
@@ -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);
diff --git a/katze/katze-preferences.h b/katze/katze-preferences.h
index 63bd484..e957ebc 100644
--- a/katze/katze-preferences.h
+++ b/katze/katze-preferences.h
@@ -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);
diff --git a/katze/katze-scrolled.h b/katze/katze-scrolled.h
index e8787f1..5535d44 100644
--- a/katze/katze-scrolled.h
+++ b/katze/katze-scrolled.h
@@ -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,
diff --git a/katze/katze-separatoraction.h b/katze/katze-separatoraction.h
index 396b83d..084eebf 100644
--- a/katze/katze-separatoraction.h
+++ b/katze/katze-separatoraction.h
@@ -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
diff --git a/katze/katze-throbber.h b/katze/katze-throbber.h
index 34d0004..dfa714a 100644
--- a/katze/katze-throbber.h
+++ b/katze/katze-throbber.h
@@ -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);
More information about the Xfce4-commits
mailing list