diff options
author | Benjamin Otte <otte@redhat.com> | 2012-10-02 19:23:29 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-10-02 19:32:51 +0200 |
commit | 12683da8f74e847392fff32d4b06dd2c50baa37c (patch) | |
tree | 2d340c4f85871d60404e6911062e6d08b54a83fc /gtk/gtktoolpalette.c | |
parent | 48c6b3b4f4c7eaf99e10302d17e78838f1eac010 (diff) | |
download | gtk+-12683da8f74e847392fff32d4b06dd2c50baa37c.tar.gz |
gtk: Make functions static that don't need to be non-static
Also remove the starting underscore from function names where
appropriate, as those functions are static now and not exported anymore.
This is part of a bunch of fixes for gcc complaining about
-Wmissing-declarations.
Diffstat (limited to 'gtk/gtktoolpalette.c')
-rw-r--r-- | gtk/gtktoolpalette.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtktoolpalette.c b/gtk/gtktoolpalette.c index 1503276a6b..688688c0d2 100644 --- a/gtk/gtktoolpalette.c +++ b/gtk/gtktoolpalette.c @@ -1298,9 +1298,9 @@ gtk_tool_palette_get_style (GtkToolPalette *palette) return palette->priv->style; } -gint -_gtk_tool_palette_compare_groups (gconstpointer a, - gconstpointer b) +static gint +gtk_tool_palette_compare_groups (gconstpointer a, + gconstpointer b) { const GtkToolItemGroupInfo *group_a = a; const GtkToolItemGroupInfo *group_b = b; @@ -1351,7 +1351,7 @@ gtk_tool_palette_set_group_position (GtkToolPalette *palette, group_new->pos = position; group_old->pos = old_position; - g_ptr_array_sort (palette->priv->groups, _gtk_tool_palette_compare_groups); + g_ptr_array_sort (palette->priv->groups, gtk_tool_palette_compare_groups); gtk_widget_queue_resize (GTK_WIDGET (palette)); } |