[gnome-builder] rely in IdeFile for location of file to load
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] rely in IdeFile for location of file to load
- Date: Tue, 24 Mar 2015 00:37:00 +0000 (UTC)
commit 989e463966fc025fe7e1c3081378051a416c1606
Author: Christian Hergert <christian hergert me>
Date: Sun Mar 22 17:42:30 2015 -0700
rely in IdeFile for location of file to load
libide/ide-buffer-manager.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/libide/ide-buffer-manager.c b/libide/ide-buffer-manager.c
index ae9f787..0415110 100644
--- a/libide/ide-buffer-manager.c
+++ b/libide/ide-buffer-manager.c
@@ -628,7 +628,6 @@ ide_buffer_manager_load_file_async (IdeBufferManager *self,
IdeContext *context;
IdeBuffer *buffer;
LoadState *state;
- GtkSourceFile *source_file;
GFile *gfile;
IDE_ENTRY;
@@ -699,8 +698,7 @@ ide_buffer_manager_load_file_async (IdeBufferManager *self,
if (progress)
*progress = g_object_ref (state->progress);
- source_file = _ide_file_get_source_file (state->file);
- gfile = gtk_source_file_get_location (source_file);
+ gfile = ide_file_get_file (file);
g_file_read_async (gfile,
G_PRIORITY_DEFAULT,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]