summaryrefslogtreecommitdiff
path: root/gtk/gtktextbuffer.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-09-13 19:57:42 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-09-13 19:57:42 +0000
commit463aab93dd04bb815f13ff8f17019071162a8ac3 (patch)
tree539f4100082e7cb0fcb1a1ba449e3b7791eb4cfd /gtk/gtktextbuffer.c
parent9a5d4a2ff9e9117b731418d0deafd4204cace1c4 (diff)
downloadgtk+-463aab93dd04bb815f13ff8f17019071162a8ac3.tar.gz
Various cleanups. (#315360, Kjartan Maraas)
2005-09-13 Matthias Clasen <mclasen@redhat.com> * gtk/*.c: Various cleanups. (#315360, Kjartan Maraas)
Diffstat (limited to 'gtk/gtktextbuffer.c')
-rw-r--r--gtk/gtktextbuffer.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c
index aa56e28284..398993170f 100644
--- a/gtk/gtktextbuffer.c
+++ b/gtk/gtktextbuffer.c
@@ -855,7 +855,6 @@ insert_range_untagged (GtkTextBuffer *buffer,
GtkTextIter range_start;
GtkTextIter range_end;
GtkTextIter start, end;
- GtkTextBuffer *src_buffer;
Range *r;
if (gtk_text_iter_equal (orig_start, orig_end))
@@ -864,8 +863,6 @@ insert_range_untagged (GtkTextBuffer *buffer,
start = *orig_start;
end = *orig_end;
- src_buffer = gtk_text_iter_get_buffer (&start);
-
range_start = start;
range_end = start;
@@ -971,13 +968,10 @@ insert_range_not_inside_self (GtkTextBuffer *buffer,
GtkTextIter end = *orig_end;
GtkTextIter range_start;
GtkTextIter range_end;
- GtkTextBuffer *src_buffer;
if (gtk_text_iter_equal (orig_start, orig_end))
return;
- src_buffer = gtk_text_iter_get_buffer (orig_start);
-
gtk_text_iter_order (&start, &end);
range_start = start;