changeset 2064:c8d55b929442

Just to hush down the warnings...
author Eugene Paskevich <eugene@raptor.kiev.ua>
date Sun, 14 Oct 2007 12:16:51 +0300
parents 6fc04f4446e1
children 5a06a09a0bbe
files src/aosd/aosd.c src/aosd/aosd_osd.c src/aosd/aosd_trigger.c src/aosd/aosd_ui.c
diffstat 4 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/aosd/aosd.c	Sun Oct 14 03:38:20 2007 -0500
+++ b/src/aosd/aosd.c	Sun Oct 14 12:16:51 2007 +0300
@@ -19,6 +19,7 @@
 */
 
 #include "aosd.h"
+#include "aosd_ui.h"
 #include "aosd_osd.h"
 #include "aosd_cfg.h"
 #include "aosd_trigger.h"
--- a/src/aosd/aosd_osd.c	Sun Oct 14 03:38:20 2007 -0500
+++ b/src/aosd/aosd_osd.c	Sun Oct 14 12:16:51 2007 +0300
@@ -411,6 +411,7 @@
   {
     g_warning( "OSD display requested, but no osd object is loaded!\n" );
   }
+  return 1;
 }
 
 
--- a/src/aosd/aosd_trigger.c	Sun Oct 14 03:38:20 2007 -0500
+++ b/src/aosd/aosd_trigger.c	Sun Oct 14 12:16:51 2007 +0300
@@ -21,6 +21,7 @@
 #include "aosd_trigger.h"
 #include "aosd_trigger_private.h"
 #include "aosd_cfg.h"
+#include "aosd_osd.h"
 #include <glib.h>
 #include <audacious/i18n.h>
 #include <audacious/playlist.h>
--- a/src/aosd/aosd_ui.c	Sun Oct 14 03:38:20 2007 -0500
+++ b/src/aosd/aosd_ui.c	Sun Oct 14 12:16:51 2007 +0300
@@ -466,7 +466,7 @@
   return tex_vbox;
 }
 
-
+#if 0
 static void
 aosd_ui_configure_decoration_browse ( GtkButton * button , gpointer entry )
 {
@@ -487,6 +487,7 @@
   gtk_widget_destroy( dialog );
   return;
 }
+#endif
 
 
 static void
@@ -521,14 +522,14 @@
   return;
 }
 
-
+#if 0
 static void
 aosd_cb_configure_decoration_skinfile_commit ( GtkWidget * entry , aosd_cfg_t * cfg )
 {
   cfg->osd->decoration.skin_file = g_strdup( gtk_entry_get_text(GTK_ENTRY(entry)) );
   return;
 }
-
+#endif
 
 static GtkWidget *
 aosd_ui_configure_decoration ( aosd_cfg_t * cfg , GList ** cb_list )
@@ -542,8 +543,10 @@
   GtkTreeIter iter, iter_sel;
   GtkWidget *dec_rstyle_hbox;
   GtkWidget *dec_rstyleopts_frame, *dec_rstyleopts_table;
+#if 0
   GtkWidget *dec_rstylecustom_frame, *dec_rstylecustom_table;
   GtkWidget *dec_rstylecustom_label, *dec_rstylecustom_entry, *dec_rstylecustom_browse_bt;
+#endif
   gint *deco_code_array, deco_code_array_size;
   gint colors_max_num = 0, i = 0;
 
@@ -956,7 +959,7 @@
 static void
 aosd_cb_configure_ok ( gpointer cfg_win )
 {
-  gchar *markup_message = NULL;
+  //gchar *markup_message = NULL;
   aosd_cfg_t *cfg = aosd_cfg_new();
   GList *cb_list = g_object_get_data( G_OBJECT(cfg_win) , "cblist" );
   aosd_callback_list_run( cb_list , cfg );