[evince/wip/hadess/more-dbus-names: 18/18] shell: Rename URI argument to URI
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/wip/hadess/more-dbus-names: 18/18] shell: Rename URI argument to URI
- Date: Tue, 2 Oct 2018 07:29:37 +0000 (UTC)
commit 227de436dded160d32dfdd87a6f5e775bc5a879d
Author: Bastien Nocera <hadess hadess net>
Date: Tue Oct 2 00:31:00 2018 +0200
shell: Rename URI argument to URI
It was named "filename" which is just confusing.
shell/ev-window.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 177a1233..1e29a6ce 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -324,7 +324,7 @@ static void ev_window_zoom_changed_cb (EvDocumentModel *model,
GParamSpec *pspec,
EvWindow *ev_window);
static void ev_window_add_recent (EvWindow *window,
- const char *filename);
+ const char *uri);
static void ev_window_run_fullscreen (EvWindow *window);
static void ev_window_stop_fullscreen (EvWindow *window,
gboolean unfullscreen_window);
@@ -2700,9 +2700,9 @@ ev_window_cmd_file_open_copy (GSimpleAction *action,
}
static void
-ev_window_add_recent (EvWindow *window, const char *filename)
+ev_window_add_recent (EvWindow *window, const char *uri)
{
- gtk_recent_manager_add_item (window->priv->recent_manager, filename);
+ gtk_recent_manager_add_item (window->priv->recent_manager, uri);
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]