# HG changeset patch # User Eugene Paskevich # Date 1192353411 -10800 # Node ID c8d55b929442b25d24e124f2d23235febe71892a # Parent 6fc04f4446e1ff33c2d2e55636533c5195096b4e Just to hush down the warnings... diff -r 6fc04f4446e1 -r c8d55b929442 src/aosd/aosd.c --- 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" diff -r 6fc04f4446e1 -r c8d55b929442 src/aosd/aosd_osd.c --- 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; } diff -r 6fc04f4446e1 -r c8d55b929442 src/aosd/aosd_trigger.c --- 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 #include #include diff -r 6fc04f4446e1 -r c8d55b929442 src/aosd/aosd_ui.c --- 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 );