# HG changeset patch # User mf0102 <0102@gmx.at> # Date 1214754487 -7200 # Node ID b71d4f3f3afdca08b10797ce6c4203f4a634779a # Parent 8f2f6d7fdc40bdb8371067f3c1ac0b2b57f09439 make some functions static diff -r 8f2f6d7fdc40 -r b71d4f3f3afd src/audacious/ui_new.c --- 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);