[evince/wip/gpoo/Set-back-D-Bus-application-name-to-lowercase: 6/8] shell: Rename URI argument to URI



commit f8074f4bec6cc7238343888ede7ede5eca92df2c
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]