summaryrefslogtreecommitdiff
path: root/libwnck/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'libwnck/window.c')
-rw-r--r--libwnck/window.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libwnck/window.c b/libwnck/window.c
index 2760816..581f60f 100644
--- a/libwnck/window.c
+++ b/libwnck/window.c
@@ -2103,15 +2103,18 @@ wnck_window_transient_is_most_recently_activated (WnckWindow *window)
static void
get_icons (WnckWindow *window)
{
+ WnckHandle *handle;
GdkPixbuf *icon;
GdkPixbuf *mini_icon;
gsize normal_size;
gsize mini_size;
+ handle = _wnck_screen_get_handle (window->priv->screen);
+
icon = NULL;
mini_icon = NULL;
- normal_size = _wnck_get_default_icon_size ();
- mini_size = _wnck_get_default_mini_icon_size ();
+ normal_size = _wnck_handle_get_default_icon_size (handle);
+ mini_size = _wnck_handle_get_default_mini_icon_size (handle);
if (_wnck_read_icons (window->priv->screen,
window->priv->xwindow,