summaryrefslogtreecommitdiff
path: root/gtk/gtktextmark.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2000-09-30 00:17:22 +0000
committerHavoc Pennington <hp@src.gnome.org>2000-09-30 00:17:22 +0000
commit244996ffec3b76c4cbef2e9684c0557ffed7e8fa (patch)
tree01acf82d5b49070fe08ad77e7b140d21c4465797 /gtk/gtktextmark.c
parent0415b69e76b5d2d3bb8adecb6cf19974281b597c (diff)
downloadgtk+-244996ffec3b76c4cbef2e9684c0557ffed7e8fa.tar.gz
fix indentation
2000-09-29 Havoc Pennington <hp@redhat.com> * gtk/gtktexttag.c (gtk_text_tag_set_priority): fix indentation * gtk/gtktextview.c: Implement drag thresholding; change functions that set border window size to have nicer name (gtk_text_view_mark_set_handler): Fix this to have the right signature. * gtk/testtextbuffer.c (fill_buffer): Update with pixbuf changes * gtk/testtext.c: Update with API changes, put line numbers on both sides. * gtk/gtktextiter.c (gtk_text_iter_get_pixbuf): Replace get_pixmap with this * gtk/gtktextchild.h, gtk/gtktextchild.c: replace all pixmap with pixbuf; delete a big block of #if 0 Tk code * gtk/gtktextbuffer.c (gtk_text_buffer_insert_pixbuf): Replace insert_pixmap with insert_pixbuf
Diffstat (limited to 'gtk/gtktextmark.c')
-rw-r--r--gtk/gtktextmark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktextmark.c b/gtk/gtktextmark.c
index f85ef0a6ba..4a53161ed2 100644
--- a/gtk/gtktextmark.c
+++ b/gtk/gtktextmark.c
@@ -25,14 +25,14 @@ gtk_text_mark_is_visible(GtkTextMark *mark)
return seg->body.mark.visible;
}
-char *
+const char *
gtk_text_mark_get_name (GtkTextMark *mark)
{
GtkTextLineSegment *seg;
seg = (GtkTextLineSegment*)mark;
- return g_strdup (seg->body.mark.name);
+ return seg->body.mark.name;
}