[gnome-builder] libide: short-circuit in no-match sitation with no rubberbanding
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide: short-circuit in no-match sitation with no rubberbanding
- Date: Tue, 24 Mar 2015 00:56:19 +0000 (UTC)
commit 5810a3762ffeb4a3b5ad9ca3f0e4db2cf6d24eec
Author: Christian Hergert <christian hergert me>
Date: Mon Mar 23 17:56:12 2015 -0700
libide: short-circuit in no-match sitation with no rubberbanding
libide/ide-source-view.c | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/libide/ide-source-view.c b/libide/ide-source-view.c
index c2d8549..d01afb5 100644
--- a/libide/ide-source-view.c
+++ b/libide/ide-source-view.c
@@ -3149,10 +3149,8 @@ ide_source_view__search_forward_cb (GObject *object,
* started.
*/
if (priv->rubberband_search)
- {
- ide_source_view_rollback_search (mv->self);
- return;
- }
+ ide_source_view_rollback_search (mv->self);
+ return;
}
mv->count--;
@@ -3219,10 +3217,8 @@ ide_source_view__search_backward_cb (GObject *object,
* started.
*/
if (priv->rubberband_search)
- {
- ide_source_view_rollback_search (mv->self);
- return;
- }
+ ide_source_view_rollback_search (mv->self);
+ return;
}
mv->count--;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]