[gnome-photos/wip/uajain/pre_select_exported_file: 2/3] export-notification: Rename a variable
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/uajain/pre_select_exported_file: 2/3] export-notification: Rename a variable
- Date: Sun, 4 Feb 2018 11:03:05 +0000 (UTC)
commit bd180201faa9a7689d3cb5fd70d33b66d47c2edb
Author: Debarshi Ray <debarshir gnome org>
Date: Sun Feb 4 11:55:18 2018 +0100
export-notification: Rename a variable
This will make the subsequent commit easier to read.
https://gitlab.gnome.org/GNOME/gnome-photos/issues/6
src/photos-export-notification.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/photos-export-notification.c b/src/photos-export-notification.c
index 0ba6b5d6..01dff2a5 100644
--- a/src/photos-export-notification.c
+++ b/src/photos-export-notification.c
@@ -153,7 +153,7 @@ photos_export_notification_export_folder (PhotosExportNotification *self)
GApplication *app;
g_autoptr (GFile) directory = NULL;
GtkWindow *parent;
- g_autofree gchar *uri = NULL;
+ g_autofree gchar *directory_uri = NULL;
guint32 time;
g_return_if_fail (self->file != NULL);
@@ -168,12 +168,12 @@ photos_export_notification_export_folder (PhotosExportNotification *self)
else
directory = g_object_ref (self->file);
- uri = g_file_get_uri (directory);
+ directory_uri = g_file_get_uri (directory);
{
g_autoptr (GError) error = NULL;
- if (!gtk_show_uri_on_window (parent, uri, time, &error))
+ if (!gtk_show_uri_on_window (parent, directory_uri, time, &error))
g_warning ("Failed to open uri: %s", error->message);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]