Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Archive
anjuta
Commits
743deea2
Commit
743deea2
authored
Nov 13, 2010
by
James Liggett
Browse files
sourceview: Completely get rid of GtkSourceSearchFlags
As of Gtk 3.0, these have been folded into GtkTextIter.
parent
d656b885
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/sourceview/sourceview.c
View file @
743deea2
...
...
@@ -48,7 +48,6 @@
#include
<gtksourceview/gtksourcelanguage.h>
#include
<gtksourceview/gtksourcelanguagemanager.h>
#include
<gtksourceview/gtksourcebuffer.h>
#include
<gtksourceview/gtksourceiter.h>
#include
<gtksourceview/gtksourcecompletionitem.h>
#include
"config.h"
...
...
@@ -2338,7 +2337,7 @@ isearch_forward (IAnjutaEditorSearch* isearch,
GtkTextIter
result_start
,
result_end
;
Gtk
Source
SearchFlags
flags
=
0
;
Gtk
Text
SearchFlags
flags
=
0
;
sourceview_cell_get_iter
(
start
,
&
start_iter
);
sourceview_cell_get_iter
(
end
,
&
end_iter
);
...
...
@@ -2346,7 +2345,7 @@ isearch_forward (IAnjutaEditorSearch* isearch,
if
(
!
case_sensitive
)
{
flags
=
GTK_
SOURCE
_SEARCH_CASE_INSENSITIVE
;
flags
=
GTK_
TEXT
_SEARCH_CASE_INSENSITIVE
;
}
gboolean
result
=
...
...
@@ -2389,7 +2388,7 @@ isearch_backward (IAnjutaEditorSearch* isearch,
GtkTextIter
end_iter
;
GtkTextIter
result_start
,
result_end
;
Gtk
Source
SearchFlags
flags
=
0
;
Gtk
Text
SearchFlags
flags
=
0
;
sourceview_cell_get_iter
(
start
,
&
start_iter
);
sourceview_cell_get_iter
(
end
,
&
end_iter
);
...
...
@@ -2397,7 +2396,7 @@ isearch_backward (IAnjutaEditorSearch* isearch,
if
(
!
case_sensitive
)
{
flags
=
GTK_
SOURCE
_SEARCH_CASE_INSENSITIVE
;
flags
=
GTK_
TEXT
_SEARCH_CASE_INSENSITIVE
;
}
gboolean
result
=
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment