aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ephy-application.c6
-rw-r--r--src/ephy-session.c2
-rw-r--r--src/ephy-session.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/ephy-application.c b/src/ephy-application.c
index ecf4d44ca..8ae9f7f77 100644
--- a/src/ephy-application.c
+++ b/src/ephy-application.c
@@ -121,7 +121,7 @@ queue_commands (EphyApplication *application)
else if (ctx->session_filename != NULL) {
ephy_session_queue_command (session,
EPHY_SESSION_CMD_LOAD_SESSION,
- ctx->session_filename, NULL,
+ (const char *)ctx->session_filename, NULL,
ctx->user_time, FALSE);
} else if (ctx->arguments != NULL) {
/* Don't queue any window openings if no extra arguments given, */
@@ -139,8 +139,8 @@ queue_commands (EphyApplication *application)
ephy_session_queue_command (session,
EPHY_SESSION_CMD_OPEN_URIS,
- options->str,
- ctx->arguments,
+ (const char*)options->str,
+ (const char **)ctx->arguments,
ctx->user_time, FALSE);
}
}
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 9e489d07b..0c7b2a978 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -1744,7 +1744,7 @@ void
ephy_session_queue_command (EphySession *session,
EphySessionCommand command,
const char *arg,
- char **args,
+ const char **args,
guint32 user_time,
gboolean priority)
{
diff --git a/src/ephy-session.h b/src/ephy-session.h
index 4dbb496c5..3bf1ffd9a 100644
--- a/src/ephy-session.h
+++ b/src/ephy-session.h
@@ -92,7 +92,7 @@ void ephy_session_remove_window (EphySession *session,
void ephy_session_queue_command (EphySession *session,
EphySessionCommand op,
const char *arg,
- char **args,
+ const char **args,
guint32 user_time,
gboolean priority);