changeset 4674:b71d4f3f3afd

make some functions static
author mf0102 <0102@gmx.at>
date Sun, 29 Jun 2008 17:48:07 +0200
parents 8f2f6d7fdc40
children 48cdebc174ef
files src/audacious/ui_new.c
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_new.c	Sun Jun 29 17:47:50 2008 +0200
+++ b/src/audacious/ui_new.c	Sun Jun 29 17:48:07 2008 +0200
@@ -27,37 +27,37 @@
 
 static GtkWidget *label_prev, *label_current, *label_next;
 
-gboolean
+static gboolean
 window_delete()
 {
     return FALSE;
 }
 
-void
+static void
 window_destroy(GtkWidget *widget, gpointer data)
 {
     gtk_main_quit();
 }
 
-void
+static void
 button_open_pressed()
 {
     run_filebrowser(TRUE);
 }
 
-void
+static void
 button_previous_pressed()
 {
     playlist_prev(playlist_get_active());
 }
 
-void
+static void
 button_next_pressed()
 {
     playlist_next(playlist_get_active());
 }
 
-void
+static void
 set_song_title(gpointer hook_data, gpointer user_data)
 {
     gchar *title =
@@ -69,7 +69,7 @@
 }
 
 
-GtkWidget *
+static GtkWidget *
 gtk_box_button_add(GtkWidget *box, void(*callback)(), const gchar *stock_id)
 {
     GtkWidget *button = gtk_button_new_from_stock(stock_id);
@@ -79,7 +79,7 @@
     return button;
 }
 
-GtkWidget *
+static GtkWidget *
 gtk_markup_label_new(const gchar *str)
 {
     GtkWidget *label = gtk_label_new(str);