summaryrefslogtreecommitdiff
path: root/src/terminal-accels.c
diff options
context:
space:
mode:
authorMark Thomas <[email protected]>2014-02-12 00:05:23 +0000
committerMark Thomas <[email protected]>2014-02-12 00:05:23 +0000
commitd6483a80a9eef3a9ba4ea1394558ebbaa39a7cbe (patch)
tree572dc84b68da056778ce6540d7e03247350b2232 /src/terminal-accels.c
parent393743c91f597abe846057d0485a32b46cd5bb3c (diff)
downloadmate-terminal-d6483a80a9eef3a9ba4ea1394558ebbaa39a7cbe.tar.bz2
mate-terminal-d6483a80a9eef3a9ba4ea1394558ebbaa39a7cbe.tar.xz
Fix some warnings.
Diffstat (limited to 'src/terminal-accels.c')
-rw-r--r--src/terminal-accels.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/terminal-accels.c b/src/terminal-accels.c
index 9dad3fc..fec1296 100644
--- a/src/terminal-accels.c
+++ b/src/terminal-accels.c
@@ -335,7 +335,7 @@ enum
};
static void keys_change_notify (GSettings *settings,
- gchar *key,
+ const gchar *key,
gpointer user_data);
static void accel_changed_callback (GtkAccelGroup *accel_group,
@@ -473,7 +473,7 @@ update_model_foreach (GtkTreeModel *model,
static void
keys_change_notify (GSettings *settings,
- gchar *key,
+ const gchar *key,
gpointer user_data)
{
GVariant *val;
@@ -663,7 +663,6 @@ static gboolean
sync_idle_cb (gpointer data)
{
GSettings *changeset;
- GError *error = NULL;
_terminal_debug_print (TERMINAL_DEBUG_ACCELS,
"GSettings sync handler\n");