[gtk+/wip/gbsneto/other-locations: 7/13] placesview: updates
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/gbsneto/other-locations: 7/13] placesview: updates
- Date: Wed, 24 Jun 2015 13:51:42 +0000 (UTC)
commit fa6f785b52ec75bf3f8f1ced97fab8953038670f
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Jun 16 22:21:42 2015 -0300
placesview: updates
gtk/gtkplacesview.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c
index e54e9c8..b7d2e9c 100644
--- a/gtk/gtkplacesview.c
+++ b/gtk/gtkplacesview.c
@@ -165,10 +165,7 @@ server_list_add_server (GFile *file)
bookmarks = server_list_load ();
if (!bookmarks)
- {
- g_message ("bookmarks is NULL");
- return;
- }
+ return;
uri = g_file_get_uri (file);
@@ -179,8 +176,6 @@ server_list_add_server (GFile *file)
&error);
title = g_file_info_get_attribute_as_string (info, G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME);
- g_message ("adding server '%s'", title);
-
g_bookmark_file_set_title (bookmarks, uri, title);
g_bookmark_file_set_visited (bookmarks, uri, -1);
g_bookmark_file_add_application (bookmarks, uri, NULL, NULL);
@@ -726,7 +721,6 @@ mount_location (GtkPlacesView *view,
/* unref operation here - g_file_mount_enclosing_volume() does ref for itself */
g_object_unref (operation);
- g_object_unref (priv->connection_cancellable);
}
static void
@@ -756,7 +750,6 @@ mount_volume (GtkPlacesView *view,
/* unref operation here - g_file_mount_enclosing_volume() does ref for itself */
g_object_unref (operation);
- g_object_unref (priv->connection_cancellable);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]