(trunk gtk) icons.c: silence a couple of compiler warnings on older systems

This commit is contained in:
Charles Kerr 2009-03-05 16:08:16 +00:00
parent 1eaf40f0ca
commit 9d04f8906c
1 changed files with 3 additions and 2 deletions

View File

@ -14,11 +14,11 @@
#define VOID_PIXBUF_KEY "void-pixbuf" #define VOID_PIXBUF_KEY "void-pixbuf"
static GHashTable *static_strings = NULL; #ifdef HAVE_GIO
static const char * static const char *
get_static_string( const char *s ) get_static_string( const char *s )
{ {
static GHashTable *static_strings = NULL;
const char *result; const char *result;
if ( s == NULL ) if ( s == NULL )
@ -36,6 +36,7 @@ get_static_string( const char *s )
return result; return result;
} }
#endif
typedef struct { typedef struct {