summaryrefslogtreecommitdiff
path: root/gtk/gtkclipboard.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2000-10-26 23:50:57 +0000
committerHavoc Pennington <hp@src.gnome.org>2000-10-26 23:50:57 +0000
commit360593021319419b5e17f9f89bc508d924661aa7 (patch)
treeb90f1e70ab2f8c26bc56d300b4457576cb32d79a /gtk/gtkclipboard.c
parenta291b0be4c5e90f7e1a15c6de8e8f451c70773d1 (diff)
downloadgtk+-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/gtkclipboard.c')
-rw-r--r--gtk/gtkclipboard.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkclipboard.c b/gtk/gtkclipboard.c
index 3c7ff99e33..724e5f24e1 100644
--- a/gtk/gtkclipboard.c
+++ b/gtk/gtkclipboard.c
@@ -157,7 +157,7 @@ selection_clear_event_cb (GtkWidget *widget,
return FALSE;
}
-GtkWidget *
+static GtkWidget *
make_clipboard_widget (gboolean provider)
{
GtkWidget *widget = gtk_invisible_new ();
@@ -180,7 +180,7 @@ make_clipboard_widget (gboolean provider)
}
-void
+static void
ensure_clipboard_widget ()
{
if (!clipboard_widget)
@@ -492,7 +492,7 @@ gtk_clipboard_clear (GtkClipboard *clipboard)
clipboard_get_timestamp (clipboard));
}
-void
+static void
text_get_func (GtkClipboard *clipboard,
GtkSelectionData *selection_data,
guint info,
@@ -501,7 +501,7 @@ text_get_func (GtkClipboard *clipboard,
gtk_selection_data_set_text (selection_data, data);
}
-void
+static void
text_clear_func (GtkClipboard *clipboard,
gpointer data)
{