[gnome-panel] panel-bindings: fix build warnings
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] panel-bindings: fix build warnings
- Date: Mon, 19 Dec 2016 00:37:51 +0000 (UTC)
commit c71a3b4233a8d57d6ddb12b6f046b2443e0da529
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Dec 19 02:34:25 2016 +0200
panel-bindings: fix build warnings
gnome-panel/panel-bindings.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gnome-panel/panel-bindings.c b/gnome-panel/panel-bindings.c
index abb06bb..f16b7bb 100644
--- a/gnome-panel/panel-bindings.c
+++ b/gnome-panel/panel-bindings.c
@@ -39,9 +39,9 @@ typedef struct {
} KeyBinding;
typedef struct {
- char *key;
- char *signal;
- GSList *list;
+ const gchar *key;
+ const gchar *signal;
+ GSList *list;
} PanelBinding;
static gboolean initialised = FALSE;
@@ -201,10 +201,10 @@ panel_bindings_mouse_modifier_changed (GSettings *settings, const gchar *key)
static void
panel_bindings_initialise (void)
{
- int i;
- int j;
- char *str;
- gchar **array;
+ guint i;
+ guint j;
+ gchar *str;
+ gchar **array;
if (initialised)
return;
@@ -241,7 +241,7 @@ panel_bindings_initialise (void)
void
panel_bindings_set_entries (GtkBindingSet *binding_set)
{
- int i;
+ guint i;
if (!initialised)
panel_bindings_initialise ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]