terminal-app: remove -Wdiscarded-qualifiers warnings

terminal-app.c:152:26: warning: passing argument 2 of ‘terminal_app_profile_list_notify_cb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
terminal-app.c:153:29: warning: passing argument 2 of ‘terminal_app_default_profile_notify_cb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
terminal-app.c:155:27: warning: passing argument 2 of ‘terminal_app_encoding_list_notify_cb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
terminal-app.c:143:28: warning: passing argument 2 of ‘terminal_app_system_font_notify_cb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
terminal-app.c:149:35: warning: passing argument 2 of ‘terminal_app_enable_menu_accels_notify_cb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
terminal-app.c:146:30: warning: passing argument 2 of ‘terminal_app_enable_mnemonics_notify_cb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
rbuj 2019-09-07 10:09:17 +02:00 committed by raveit65
parent 4391ad9928
commit f7a4bef0c3
1 changed files with 14 additions and 14 deletions

View File

@ -796,7 +796,7 @@ find_profile_link (GList *profiles,
static void
terminal_app_profile_list_notify_cb (GSettings *settings,
gchar *key,
const gchar *key,
gpointer user_data)
{
TerminalApp *app = TERMINAL_APP (user_data);
@ -923,7 +923,7 @@ ensure_one_profile:
static void
terminal_app_default_profile_notify_cb (GSettings *settings,
gchar *key,
const gchar *key,
gpointer user_data)
{
TerminalApp *app = TERMINAL_APP (user_data);
@ -969,7 +969,7 @@ encoding_mark_active (gpointer key,
static void
terminal_app_encoding_list_notify_cb (GSettings *settings,
gchar *key,
const gchar *key,
gpointer user_data)
{
TerminalApp *app = TERMINAL_APP (user_data);
@ -1029,7 +1029,7 @@ terminal_app_encoding_list_notify_cb (GSettings *settings,
static void
terminal_app_system_font_notify_cb (GSettings *settings,
gchar *key,
const gchar *key,
gpointer user_data)
{
TerminalApp *app = TERMINAL_APP (user_data);
@ -1070,7 +1070,7 @@ terminal_app_system_font_notify_cb (GSettings *settings,
static void
terminal_app_enable_mnemonics_notify_cb (GSettings *settings,
gchar *key,
const gchar *key,
gpointer user_data)
{
TerminalApp *app = TERMINAL_APP (user_data);
@ -1086,7 +1086,7 @@ terminal_app_enable_mnemonics_notify_cb (GSettings *settings,
static void
terminal_app_enable_menu_accels_notify_cb (GSettings *settings,
gchar *key,
const gchar *key,
gpointer user_data)
{
TerminalApp *app = TERMINAL_APP (user_data);