[gnome-builder] sourceview: check for capture before attempting replay
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] sourceview: check for capture before attempting replay
- Date: Sat, 28 Mar 2015 23:58:59 +0000 (UTC)
commit 836858f91e195193455122c4e8f8c6b0b3bd4c62
Author: Christian Hergert <christian hergert me>
Date: Sat Mar 28 14:49:51 2015 -0700
sourceview: check for capture before attempting replay
libide/ide-source-view.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libide/ide-source-view.c b/libide/ide-source-view.c
index 8dd078d..af4adf9 100644
--- a/libide/ide-source-view.c
+++ b/libide/ide-source-view.c
@@ -4511,6 +4511,9 @@ ide_source_view_real_replay_macro (IdeSourceView *self,
IDE_EXIT;
}
+ if (priv->capture == NULL)
+ return;
+
if (use_count)
count = MAX (1, priv->count);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]