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
This commit is contained in:
committed by
Havoc Pennington
parent
a291b0be4c
commit
3605930213
@ -130,14 +130,14 @@ struct _GtkTextLineSegment {
|
||||
|
||||
GtkTextLineSegment *gtk_text_line_segment_split (const GtkTextIter *iter);
|
||||
|
||||
GtkTextLineSegment *char_segment_new (const gchar *text,
|
||||
guint len);
|
||||
GtkTextLineSegment *char_segment_new_from_two_strings (const gchar *text1,
|
||||
guint len1,
|
||||
const gchar *text2,
|
||||
guint len2);
|
||||
GtkTextLineSegment *toggle_segment_new (GtkTextTagInfo *info,
|
||||
gboolean on);
|
||||
GtkTextLineSegment *_gtk_char_segment_new (const gchar *text,
|
||||
guint len);
|
||||
GtkTextLineSegment *_gtk_char_segment_new_from_two_strings (const gchar *text1,
|
||||
guint len1,
|
||||
const gchar *text2,
|
||||
guint len2);
|
||||
GtkTextLineSegment *_gtk_toggle_segment_new (GtkTextTagInfo *info,
|
||||
gboolean on);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user