summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2022-03-22 19:55:56 +0200
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2022-03-22 19:55:56 +0200
commit4ea95a3b1cc3fbbecffa08c6026945abb9d9fe7d (patch)
tree2fb5518b4234e4a7da4b8d1027fef82e0a88c7b9
parent7c1cc3ca1d8131499b9cf2ef50b295602ffd6112 (diff)
downloadmetacity-4ea95a3b1cc3fbbecffa08c6026945abb9d9fe7d.tar.gz
icon-cache: make get_icon_invalidated static
-rw-r--r--src/core/iconcache.c2
-rw-r--r--src/core/iconcache.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/core/iconcache.c b/src/core/iconcache.c
index 7f8bff70..d4c2f0fd 100644
--- a/src/core/iconcache.c
+++ b/src/core/iconcache.c
@@ -469,7 +469,7 @@ meta_icon_cache_property_changed (MetaIconCache *icon_cache,
icon_cache->wm_hints_dirty = TRUE;
}
-gboolean
+static gboolean
meta_icon_cache_get_icon_invalidated (MetaIconCache *icon_cache)
{
if (icon_cache->origin <= USING_WM_HINTS &&
diff --git a/src/core/iconcache.h b/src/core/iconcache.h
index 722fb220..10bae4d5 100644
--- a/src/core/iconcache.h
+++ b/src/core/iconcache.h
@@ -53,7 +53,6 @@ void meta_icon_cache_free (MetaIconCache *icon_cache);
void meta_icon_cache_property_changed (MetaIconCache *icon_cache,
MetaDisplay *display,
Atom atom);
-gboolean meta_icon_cache_get_icon_invalidated (MetaIconCache *icon_cache);
gboolean meta_read_icons (MetaScreen *screen,
Window xwindow,