[Xfce4-commits] <xfce4-panel:devel> Make some functions as pure.
Nick Schermer
nick at xfce.org
Tue Aug 11 20:32:27 CEST 2009
Updating branch refs/heads/devel
to 17339ca10ee7413975ed7c8c43f04bd51a8ed3bc (commit)
from 9994c27ee2ee352e3ee38517ae040a8056f17c5e (commit)
commit 17339ca10ee7413975ed7c8c43f04bd51a8ed3bc
Author: Nick Schermer <nick at xfce.org>
Date: Sat May 23 20:20:13 2009 +0200
Make some functions as pure.
libxfce4panel/xfce-panel-plugin.h | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/libxfce4panel/xfce-panel-plugin.h b/libxfce4panel/xfce-panel-plugin.h
index 1550dbd..2bb9bff 100644
--- a/libxfce4panel/xfce-panel-plugin.h
+++ b/libxfce4panel/xfce-panel-plugin.h
@@ -88,28 +88,28 @@ struct _XfcePanelPlugin
PANEL_SYMBOL_EXPORT
GType xfce_panel_plugin_get_type (void) G_GNUC_CONST;
-const gchar *xfce_panel_plugin_get_name (XfcePanelPlugin *plugin);
+const gchar *xfce_panel_plugin_get_name (XfcePanelPlugin *plugin) G_GNUC_PURE;
-const gchar *xfce_panel_plugin_get_display_name (XfcePanelPlugin *plugin);
+const gchar *xfce_panel_plugin_get_display_name (XfcePanelPlugin *plugin) G_GNUC_PURE;
-const gchar *xfce_panel_plugin_get_comment (XfcePanelPlugin *plugin);
+const gchar *xfce_panel_plugin_get_comment (XfcePanelPlugin *plugin) G_GNUC_PURE;
-gint xfce_panel_plugin_get_unique_id (XfcePanelPlugin *plugin);
+gint xfce_panel_plugin_get_unique_id (XfcePanelPlugin *plugin) G_GNUC_PURE;
-const gchar *xfce_panel_plugin_get_property_base (XfcePanelPlugin *plugin);
+const gchar *xfce_panel_plugin_get_property_base (XfcePanelPlugin *plugin) G_GNUC_PURE;
-const gchar * const *xfce_panel_plugin_get_arguments (XfcePanelPlugin *plugin);
+const gchar * const *xfce_panel_plugin_get_arguments (XfcePanelPlugin *plugin) G_GNUC_PURE;
-gint xfce_panel_plugin_get_size (XfcePanelPlugin *plugin);
+gint xfce_panel_plugin_get_size (XfcePanelPlugin *plugin) G_GNUC_PURE;
-gboolean xfce_panel_plugin_get_expand (XfcePanelPlugin *plugin);
+gboolean xfce_panel_plugin_get_expand (XfcePanelPlugin *plugin) G_GNUC_PURE;
void xfce_panel_plugin_set_expand (XfcePanelPlugin *plugin,
gboolean expand);
-GtkOrientation xfce_panel_plugin_get_orientation (XfcePanelPlugin *plugin);
+GtkOrientation xfce_panel_plugin_get_orientation (XfcePanelPlugin *plugin) G_GNUC_PURE;
-XfceScreenPosition xfce_panel_plugin_get_screen_position (XfcePanelPlugin *plugin);
+XfceScreenPosition xfce_panel_plugin_get_screen_position (XfcePanelPlugin *plugin) G_GNUC_PURE;
void xfce_panel_plugin_take_window (XfcePanelPlugin *plugin,
GtkWindow *window);
More information about the Xfce4-commits
mailing list