[gedit] Fix compilation warning
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Fix compilation warning
- Date: Sat, 4 Apr 2015 10:50:41 +0000 (UTC)
commit 44aee7fff8b2761cb4ce0264af49394b2f585fcc
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Apr 4 12:50:00 2015 +0200
Fix compilation warning
gedit/gedit-commands-search.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-commands-search.c b/gedit/gedit-commands-search.c
index c170968..2b1411b 100644
--- a/gedit/gedit-commands-search.c
+++ b/gedit/gedit-commands-search.c
@@ -460,7 +460,7 @@ do_replace_all (GeditReplaceDialog *dialog,
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
- search_context = gedit_document_get_search_context (GTK_SOURCE_BUFFER (buffer));
+ search_context = gedit_document_get_search_context (GEDIT_DOCUMENT (buffer));
if (search_context == NULL)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]