blob: b1b7a892d38c65f1fb367bd74512e18d502c6894 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
* vi:set noexpandtab tabstop=8 shiftwidth=8:
*
* Copyright (C) 2021 Endless OS Foundation, Inc
*
* Author: Philip Withnall <pwithnall@endlessos.org>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#pragma once
#include <appstream.h>
#include <gio/gio.h>
#include <glib.h>
#include <glib-object.h>
G_BEGIN_DECLS
guint gs_icon_get_width (GIcon *icon);
void gs_icon_set_width (GIcon *icon,
guint width);
guint gs_icon_get_height (GIcon *icon);
void gs_icon_set_height (GIcon *icon,
guint height);
guint gs_icon_get_scale (GIcon *icon);
void gs_icon_set_scale (GIcon *icon,
guint scale);
GIcon *gs_icon_new_for_appstream_icon (AsIcon *appstream_icon);
G_END_DECLS
|