diff -Nur gupnp-tools-0.7/src/common/icons.c gupnp-tools-0.7-new/src/common/icons.c --- gupnp-tools-0.7/src/common/icons.c 2008-12-16 14:03:35.000000000 +0800 +++ gupnp-tools-0.7-new/src/common/icons.c 2008-12-16 14:02:15.000000000 +0800
@@ -202,13 +202,12 @@
 get_pixbuf_from_theme (const char *icon_name,
                        const char *fallback_icon_name)
 {
-        GdkScreen    *screen;
         GtkIconTheme *theme;
         GdkPixbuf    *pixbuf;
         GError       *error;

-        screen = gdk_screen_get_default ();
-        theme = gtk_icon_theme_get_for_screen (screen);
+        theme = gtk_icon_theme_new();
+        gtk_icon_theme_set_custom_theme(theme, "gnome");

         error = NULL;
         pixbuf = gtk_icon_theme_load_icon (theme,

-- eric


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to