diff options
author | Havoc Pennington <hp@redhat.com> | 2000-10-26 23:50:57 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2000-10-26 23:50:57 +0000 |
commit | 360593021319419b5e17f9f89bc508d924661aa7 (patch) | |
tree | b90f1e70ab2f8c26bc56d300b4457576cb32d79a /gtk/gtktextchild.c | |
parent | a291b0be4c5e90f7e1a15c6de8e8f451c70773d1 (diff) | |
download | gtk+-360593021319419b5e17f9f89bc508d924661aa7.tar.gz |
fix constness warning
2000-10-26 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (my_strrstr): fix constness warning
Fixed output of:
nm -g -l .libs/libgtk-x11-1.3.so | grep ' T ' | grep -v gtk_ | grep -v GTK_
* gtk/gtktextsegment.c (char_segment_new): rename
(_char_segment_new_from_two_strings): rename
(_toggle_segment_new): rename
* gtk/gtkclipboard.c (ensure_clipboard_widget): make this static
(make_clipboard_widget): make it static
(text_get_func): static
(text_clear_func): static
* gtk/gtkcolorsel.c (adjustment_changed): make this function
static
(hex_changed): make it static
(hsv_changed): make it static
(opacity_entry_changed): make it static
* gtk/gtktextbtree.c (change_node_toggle_count): rename with _gtk
(toggle_segment_check_func): rename with _gtk
* gtk/gtktextchild.c (_pixbuf_segment_new): rename with _gtk
(_widget_segment_new): rename
(_widget_segment_add): rename
(_widget_segment_remove): rename
(_widget_segment_ref): rename
(_widget_segment_unref): rename
* gtk/gtktextmark.c (_mark_segment_new): Rename
_gtk_mark_segment_new
Diffstat (limited to 'gtk/gtktextchild.c')
-rw-r--r-- | gtk/gtktextchild.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk/gtktextchild.c b/gtk/gtktextchild.c index 88e021b202..11a0987d4f 100644 --- a/gtk/gtktextchild.c +++ b/gtk/gtktextchild.c @@ -101,7 +101,7 @@ GtkTextLineSegmentClass gtk_text_pixbuf_type = { + sizeof(GtkTextPixbuf))) GtkTextLineSegment * -_pixbuf_segment_new (GdkPixbuf *pixbuf) +_gtk_pixbuf_segment_new (GdkPixbuf *pixbuf) { GtkTextLineSegment *seg; @@ -137,7 +137,7 @@ child_segment_delete_func (GtkTextLineSegment *seg, GtkTextLine *line, gboolean tree_gone) { - _widget_segment_unref (seg); + _gtk_widget_segment_unref (seg); return 0; } @@ -170,7 +170,7 @@ GtkTextLineSegmentClass gtk_text_child_type = { + sizeof(GtkTextChildBody))) GtkTextLineSegment * -_widget_segment_new (void) +_gtk_widget_segment_new (void) { GtkTextLineSegment *seg; @@ -194,7 +194,7 @@ _widget_segment_new (void) } void -_widget_segment_add (GtkTextLineSegment *widget_segment, +_gtk_widget_segment_add (GtkTextLineSegment *widget_segment, GtkWidget *child) { g_assert (widget_segment->type = >k_text_child_type); @@ -207,7 +207,7 @@ _widget_segment_add (GtkTextLineSegment *widget_segment, } void -_widget_segment_remove (GtkTextLineSegment *widget_segment, +_gtk_widget_segment_remove (GtkTextLineSegment *widget_segment, GtkWidget *child) { g_assert (widget_segment->type = >k_text_child_type); @@ -220,7 +220,7 @@ _widget_segment_remove (GtkTextLineSegment *widget_segment, } void -_widget_segment_ref (GtkTextLineSegment *widget_segment) +_gtk_widget_segment_ref (GtkTextLineSegment *widget_segment) { g_assert (widget_segment->type = >k_text_child_type); @@ -228,7 +228,7 @@ _widget_segment_ref (GtkTextLineSegment *widget_segment) } void -_widget_segment_unref (GtkTextLineSegment *widget_segment) +_gtk_widget_segment_unref (GtkTextLineSegment *widget_segment) { g_assert (widget_segment->type = >k_text_child_type); @@ -263,7 +263,7 @@ gtk_text_child_anchor_ref (GtkTextChildAnchor *anchor) g_return_if_fail (seg->type = >k_text_child_type); g_return_if_fail (seg->body.child.ref_count > 0); - _widget_segment_ref (seg); + _gtk_widget_segment_ref (seg); } void @@ -274,7 +274,7 @@ gtk_text_child_anchor_unref (GtkTextChildAnchor *anchor) g_return_if_fail (seg->type = >k_text_child_type); g_return_if_fail (seg->body.child.ref_count > 0); - _widget_segment_unref (seg); + _gtk_widget_segment_unref (seg); } GList* |