mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
icon-loader: rename to desktop-entry
Also rename `struct icon_loader` to `struct sfdo`.
This commit is contained in:
parent
e647fc7b23
commit
f69576f8a6
7 changed files with 60 additions and 59 deletions
|
|
@ -10,7 +10,7 @@
|
|||
#include "common/scene-helpers.h"
|
||||
#include "common/string-helpers.h"
|
||||
#if HAVE_LIBSFDO
|
||||
#include "icon-loader.h"
|
||||
#include "desktop-entry.h"
|
||||
#endif
|
||||
#include "labwc.h"
|
||||
#include "node.h"
|
||||
|
|
@ -610,7 +610,7 @@ ssd_update_window_icon(struct ssd *ssd)
|
|||
*/
|
||||
float icon_scale = output_max_scale(ssd->view->server);
|
||||
|
||||
struct lab_data_buffer *icon_buffer = icon_loader_lookup(
|
||||
struct lab_data_buffer *icon_buffer = desktop_entry_icon_lookup(
|
||||
ssd->view->server, app_id, icon_size, icon_scale);
|
||||
if (!icon_buffer) {
|
||||
wlr_log(WLR_DEBUG, "icon could not be loaded for %s", app_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue