# HG changeset patch # User Eugene Zagidullin # Date 1197052498 -10800 # Node ID d7acad3d50e8baace8fcbb4f0d376f5868011071 # Parent 9ddfa78b43a055f9374b00fda09f8251c745974e statusicon: warnings suppressed diff -r 9ddfa78b43a0 -r d7acad3d50e8 src/statusicon/si_ui.c --- a/src/statusicon/si_ui.c Fri Dec 07 01:13:34 2007 +0900 +++ b/src/statusicon/si_ui.c Fri Dec 07 21:34:58 2007 +0300 @@ -34,7 +34,6 @@ #include #include - static void si_ui_statusicon_popup_timer_start ( GtkWidget * ); static void si_ui_statusicon_popup_timer_stop ( GtkWidget * ); static void si_ui_statusicon_smallmenu_show ( gint x, gint y, guint button, guint32 time , gpointer ); @@ -139,6 +138,8 @@ } break; } + + default: ; } return FALSE; @@ -330,6 +331,8 @@ GdkPixbuf *si_pixbuf, *si_scaled_pixbuf; gint size = GPOINTER_TO_INT(g_object_get_data( G_OBJECT(image) , "size" )); static gchar *wmname = NULL; + + AUDDBG("WM reported proposed icon size: %d\n", size); /* sometimes, KDE won't give the correct size-allocation; workaround this */ if ( wmname == NULL ) diff -r 9ddfa78b43a0 -r d7acad3d50e8 src/statusicon/si_ui.h --- a/src/statusicon/si_ui.h Fri Dec 07 01:13:34 2007 +0900 +++ b/src/statusicon/si_ui.h Fri Dec 07 21:34:58 2007 +0300 @@ -21,12 +21,14 @@ #ifndef _I_SI_UI_H #define _I_SI_UI_H 1 -#include "si_ui.h" +#include void si_ui_statusicon_show( void ); void si_ui_statusicon_hide( void ); void si_ui_about_show( void ); +void si_ui_statusicon_enable ( gboolean ); +void si_ui_prefs_show ( void ); #endif /* !_I_SI_UI_H */