[gtksourceview] SearchContext: fix parenthesis placement



commit 26b23cbe080c5f43c061ec4d4e713a4541c21f8d
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Jun 4 15:11:37 2016 +0200

    SearchContext: fix parenthesis placement
    
    I'm surprised this didn't trigger any compiler warnings or errors.

 gtksourceview/gtksourcesearchcontext.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/gtksourcesearchcontext.c b/gtksourceview/gtksourcesearchcontext.c
index 9676642..dd4dbee 100644
--- a/gtksourceview/gtksourcesearchcontext.c
+++ b/gtksourceview/gtksourcesearchcontext.c
@@ -3688,7 +3688,7 @@ gtk_source_search_context_replace_all (GtkSourceSearchContext  *search,
 
        gtk_text_buffer_end_user_action (search->priv->buffer);
 
-       _gtk_source_buffer_restore_selection GTK_SOURCE_BUFFER ((search->priv->buffer));
+       _gtk_source_buffer_restore_selection (GTK_SOURCE_BUFFER (search->priv->buffer));
 
        gtk_source_buffer_set_highlight_matching_brackets (GTK_SOURCE_BUFFER (search->priv->buffer),
                                                           highlight_matching_brackets);


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