changeset 2570:7b1b52eb663b trunk

[svn] - Minor cleanups
author mf0102
date Sat, 24 Feb 2007 14:22:57 -0800
parents b3ca1bfcae6c
children c293ff5ec46f
files ChangeLog src/audacious/build_stamp.c src/audacious/main.c src/audacious/playlist.c
diffstat 4 files changed, 17 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Feb 24 13:36:36 2007 -0800
+++ b/ChangeLog	Sat Feb 24 14:22:57 2007 -0800
@@ -1,3 +1,13 @@
+2007-02-24 21:36:36 +0000  Michael Farber <01mf02@gmail.com>
+  revision [4148]
+  - Spring clean (removed one function)
+  
+  
+  trunk/src/audacious/input.c |   32 ++++++++++++++------------------
+  trunk/src/audacious/input.h |    6 +++++-
+  2 files changed, 19 insertions(+), 19 deletions(-)
+
+
 2007-02-24 15:53:09 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [4146]
   - make a note that MCS is required now.
--- a/src/audacious/build_stamp.c	Sat Feb 24 13:36:36 2007 -0800
+++ b/src/audacious/build_stamp.c	Sat Feb 24 14:22:57 2007 -0800
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070224-4146";
+const gchar *svn_stamp = "20070224-4148";
--- a/src/audacious/main.c	Sat Feb 24 13:36:36 2007 -0800
+++ b/src/audacious/main.c	Sat Feb 24 14:22:57 2007 -0800
@@ -528,7 +528,7 @@
         g_build_filename(bmp_paths[BMP_PATH_USER_DIR], "log", NULL);
 
     bmp_paths[BMP_PATH_GTKRC_FILE] =
-		g_build_filename(bmp_paths[BMP_PATH_USER_DIR], "gtkrc", NULL);
+        g_build_filename(bmp_paths[BMP_PATH_USER_DIR], "gtkrc", NULL);
 
     g_free(xdg_config_home);
     g_free(xdg_data_home);
@@ -893,7 +893,7 @@
 
         for (i = 0; filenames[i] != NULL; i++)
         {
-	    gchar *filename;
+            gchar *filename;
             gchar *current_dir = g_get_current_dir();
 
             if (filenames[i][0] == '/' || strstr(filenames[i], "://"))
@@ -999,7 +999,9 @@
 void report_error(const gchar *error_text)
 {
     fprintf(stderr, error_text);
-    if (options.headless!=1) {
+
+    if (options.headless != 1)
+    {
         gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(err),
                                                  error_text);
         gtk_dialog_run(GTK_DIALOG(err));
--- a/src/audacious/playlist.c	Sat Feb 24 13:36:36 2007 -0800
+++ b/src/audacious/playlist.c	Sat Feb 24 14:22:57 2007 -0800
@@ -789,9 +789,8 @@
 static gboolean
 file_is_hidden(const gchar * filename)
 {
-    // FIXME: remove the const cast
     g_return_val_if_fail(filename != NULL, FALSE);
-    return (g_basename((gchar *) filename)[0] == '.');
+    return (g_basename(filename)[0] == '.');
 }
 
 static GList *