[libwnck/wip/muktupavels/icons: 15/16] icon-cache: make get_icon_invalidated static
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck/wip/muktupavels/icons: 15/16] icon-cache: make get_icon_invalidated static
- Date: Mon, 14 Mar 2022 18:09:03 +0000 (UTC)
commit bf06e7c7d80fe65c29b003a28413c4bb4f062d69
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Mar 14 20:01:40 2022 +0200
icon-cache: make get_icon_invalidated static
libwnck/wnck-icon-cache-private.h | 1 -
libwnck/wnck-icon-cache.c | 5 ++++-
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libwnck/wnck-icon-cache-private.h b/libwnck/wnck-icon-cache-private.h
index b9c754d3..73467778 100644
--- a/libwnck/wnck-icon-cache-private.h
+++ b/libwnck/wnck-icon-cache-private.h
@@ -34,7 +34,6 @@ WnckIconCache *_wnck_icon_cache_new (Window xwindow,
WnckScreen *screen);
void _wnck_icon_cache_property_changed (WnckIconCache *icon_cache,
Atom atom);
-gboolean _wnck_icon_cache_get_icon_invalidated (WnckIconCache *icon_cache);
void _wnck_icon_cache_set_want_fallback (WnckIconCache *icon_cache,
gboolean setting);
gboolean _wnck_icon_cache_get_is_fallback (WnckIconCache *icon_cache);
diff --git a/libwnck/wnck-icon-cache.c b/libwnck/wnck-icon-cache.c
index 82708f0e..d11c5115 100644
--- a/libwnck/wnck-icon-cache.c
+++ b/libwnck/wnck-icon-cache.c
@@ -69,6 +69,9 @@ static guint icon_cache_signals[LAST_SIGNAL] = { 0 };
G_DEFINE_TYPE (WnckIconCache, _wnck_icon_cache, G_TYPE_OBJECT)
+static gboolean
+_wnck_icon_cache_get_icon_invalidated (WnckIconCache *icon_cache);
+
static gboolean
find_best_size (gulong *data,
gulong nitems,
@@ -604,7 +607,7 @@ _wnck_icon_cache_property_changed (WnckIconCache *icon_cache,
emit_invalidated (icon_cache);
}
-gboolean
+static gboolean
_wnck_icon_cache_get_icon_invalidated (WnckIconCache *icon_cache)
{
if (icon_cache->origin <= USING_KWM_WIN_ICON &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]