[Xfce4-commits] <xfce4-xkb-plugin:master> Declare non-public functions as static.
Jérôme Guelfucci
noreply at xfce.org
Thu Apr 28 21:26:06 CEST 2011
Updating branch refs/heads/master
to bece9cf793e41b27358fdd5bacbbb20896da7e1c (commit)
from c912b37c2da36ba71e2dc32053dd561e267ddff4 (commit)
commit bece9cf793e41b27358fdd5bacbbb20896da7e1c
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Thu Apr 28 19:31:19 2011 +0200
Declare non-public functions as static.
panel-plugin/xfce4-xkb-plugin.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/panel-plugin/xfce4-xkb-plugin.c b/panel-plugin/xfce4-xkb-plugin.c
index 64d3069..fc9f459 100644
--- a/panel-plugin/xfce4-xkb-plugin.c
+++ b/panel-plugin/xfce4-xkb-plugin.c
@@ -135,8 +135,8 @@ xfce_xkb_free_data (XfcePanelPlugin *plugin, t_xkb *xkb)
/* ----------------- xkb plugin stuff -----------------------*/
-void
-xkb_state_changed (gint current_group, gboolean config_changed,
+static void
+xkb_state_changed (gint current_group, gboolean config_changed,
gpointer user_data)
{
t_xkb *xkb = (t_xkb*) user_data;
@@ -149,7 +149,7 @@ xkb_state_changed (gint current_group, gboolean config_changed,
}
}
-void
+static void
xkb_plugin_set_group (GtkMenuItem *item,
gpointer data)
{
More information about the Xfce4-commits
mailing list