summaryrefslogtreecommitdiff
path: root/libwnck/util.c
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2022-03-15 16:17:09 +0200
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2022-08-15 09:57:26 +0000
commit72fee2a5c40cb7ef320a409d54d2dff6e5fe8321 (patch)
treedbb993a5a2ba219b0f4684108d179b9b45ee1756 /libwnck/util.c
parent9affe86870bdef2a4e7b07e31b6aac70ae53ddf0 (diff)
downloadlibwnck-72fee2a5c40cb7ef320a409d54d2dff6e5fe8321.tar.gz
util: move icon reloading to WnckHandle
Missing part from 8260794f4d73219d026c53b6d57244ddf52d34a6.
Diffstat (limited to 'libwnck/util.c')
-rw-r--r--libwnck/util.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/libwnck/util.c b/libwnck/util.c
index 701878b..1f183a9 100644
--- a/libwnck/util.c
+++ b/libwnck/util.c
@@ -191,30 +191,7 @@ wnck_set_default_icon_size (gsize size)
void
wnck_set_default_mini_icon_size (gsize size)
{
- int default_screen;
- WnckScreen *screen;
- GList *l;
-
wnck_handle_set_default_mini_icon_size (_wnck_get_handle (), size);
-
- default_screen = DefaultScreen (_wnck_get_default_display ());
- screen = _wnck_handle_get_existing_screen (_wnck_get_handle (),
- default_screen);
-
- if (WNCK_IS_SCREEN (screen))
- {
- /* Make applications and icons to reload their icons */
- for (l = wnck_screen_get_windows (screen); l; l = l->next)
- {
- WnckWindow *window = WNCK_WINDOW (l->data);
- WnckApplication *application = wnck_window_get_application (window);
-
- _wnck_window_load_icons (window);
-
- if (WNCK_IS_APPLICATION (application))
- _wnck_application_load_icons (application);
- }
- }
}
/**