[totem] main: Don't use TotemObject in icon helpers



commit 4f3ea12e92b1af849a9313fcfc11417074b47f41
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jan 30 17:43:49 2014 +0100

    main: Don't use TotemObject in icon helpers

 src/icon-helpers.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/icon-helpers.c b/src/icon-helpers.c
index a2e13c3..8640e85 100644
--- a/src/icon-helpers.c
+++ b/src/icon-helpers.c
@@ -187,7 +187,7 @@ load_icon (Totem      *totem,
        int rowstride;
        int x, y;
 
-       screen = gtk_window_get_screen (totem_object_get_main_window (totem));
+       screen = gdk_screen_get_default ();
        theme = gtk_icon_theme_get_for_screen (screen);
        icon = gtk_icon_theme_load_icon (theme, name, size, 0, NULL);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]