Changeset 7999


Ignore:
Timestamp:
Mar 3, 2009, 12:55:03 AM (13 years ago)
Author:
charles
Message:

(trunk gtk) maybe compile a little better for Lacrocivous

Location:
trunk/gtk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/icons.c

    r7996 r7999  
    55
    66#include <glib.h>
    7 #include <glib/gi18n.h>
    8 #include <gio/gio.h>
    97#include <gtk/gtk.h>
    108#include "icons.h"
    119
     10#ifdef HAVE_GIO
     11
     12#include <gio/gio.h>
    1213
    1314#define VOID_PIXBUF_KEY "void-pixbuf"
    1415
    15 
    1616static GHashTable *static_strings = NULL;
    17 
    1817
    1918static const char *
     
    250249    return get_static_string( g_content_type_guess( file, NULL, 0, NULL ));
    251250}
     251
     252#else
     253
     254GdkPixbuf *
     255get_mime_type_icon( const char   * mime_type,
     256                    GtkIconSize    icon_size,
     257                    GtkWidget    * for_widget )
     258{
     259    return NULL;
     260}                   
     261
     262
     263const char *
     264get_mime_type_from_filename( const char *file )
     265{
     266    return "uncertain";
     267}
     268
     269#endif
  • trunk/gtk/icons.h

    r7996 r7999  
    33 * "There is no problem for me, you can license my code under whatever licence you wish :)"
    44 */
    5 
    65
    76#ifndef ICONS_H
Note: See TracChangeset for help on using the changeset viewer.