[Xfce4-commits] <xfce4-xkb-plugin:4.10_panel_support> Make some variables and functions static

Igor Slepchin noreply at xfce.org
Wed Apr 3 01:44:07 CEST 2013


Updating branch refs/heads/4.10_panel_support
         to 2eab2516bfee4b6ced8cb02433ff0ecac692e42c (commit)
       from 892a9c17bd5db8a70034aaf0248f1df49232bc40 (commit)

commit 2eab2516bfee4b6ced8cb02433ff0ecac692e42c
Author: Igor Slepchin <igor.slepchin at gmail.com>
Date:   Tue Apr 2 17:05:17 2013 -0400

    Make some variables and functions static

 panel-plugin/xkb-config.c          |    6 +++---
 panel-plugin/xkb-settings-dialog.c |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/panel-plugin/xkb-config.c b/panel-plugin/xkb-config.c
index f6ea72e..ed73be1 100644
--- a/panel-plugin/xkb-config.c
+++ b/panel-plugin/xkb-config.c
@@ -65,8 +65,8 @@ typedef struct
     XklConfigRec         *config_rec;
 } t_xkb_config;
 
-t_xkb_config *config;
-gboolean ignore_xkl_config_change = FALSE;
+static t_xkb_config *config;
+static gboolean ignore_xkl_config_change = FALSE;
 
 static void         xkb_config_state_changed            (XklEngine *engine,
                                                          XklEngineStateChange change,
@@ -77,7 +77,7 @@ static void         xkb_config_state_changed            (XklEngine *engine,
 static void         xkb_config_xkl_config_changed       (XklEngine *engine,
                                                          gpointer user_data);
 
-GdkFilterReturn     handle_xevent                       (GdkXEvent * xev,
+static GdkFilterReturn  handle_xevent                   (GdkXEvent * xev,
                                                          GdkEvent * event);
 
 static void         xkb_config_free                     ();
diff --git a/panel-plugin/xkb-settings-dialog.c b/panel-plugin/xkb-settings-dialog.c
index a5dc479..2f9f8f3 100644
--- a/panel-plugin/xkb-settings-dialog.c
+++ b/panel-plugin/xkb-settings-dialog.c
@@ -39,8 +39,8 @@
 #include "xkb-settings-dialog.h"
 #include "xkb-util.h"
 
-GtkTreeIter current_iter;
-GtkWidget *settings_dialog;
+static GtkTreeIter current_iter;
+static GtkWidget *settings_dialog;
 
 enum combo_enum
 {


More information about the Xfce4-commits mailing list