[gnome-builder/wip/chergert/perspective] bufmgr: don't call ::load-buffer if buffer was already loaded



commit 2ebdeeed3974daf12663d1bc8018f89d8f537d4d
Author: Christian Hergert <chergert redhat com>
Date:   Fri Dec 11 01:06:17 2015 -0800

    bufmgr: don't call ::load-buffer if buffer was already loaded

 libide/ide-buffer-manager.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/libide/ide-buffer-manager.c b/libide/ide-buffer-manager.c
index 147afbe..8b6afdb 100644
--- a/libide/ide-buffer-manager.c
+++ b/libide/ide-buffer-manager.c
@@ -739,7 +739,6 @@ ide_buffer_manager_load_file_async (IdeBufferManager     *self,
                                   "fraction", 1.0,
                                   NULL);
       g_task_return_pointer (task, g_object_ref (buffer), g_object_unref);
-      g_signal_emit (self, signals [LOAD_BUFFER], 0, buffer);
       ide_buffer_manager_set_focus_buffer (self, buffer);
       IDE_EXIT;
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]