summaryrefslogtreecommitdiffstats
path: root/src/gs-app-version-history-row.h
blob: 0e91ac6e2c8e9295f5bbf3707e1e9d526472ac97 (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
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
 * vi:set noexpandtab tabstop=8 shiftwidth=8:
 *
 * Copyright (C) 2021 Matthew Leeds <mwleeds@endlessos.org>
 *
 * SPDX-License-Identifier: GPL-2.0+
 */

#pragma once

#include <gtk/gtk.h>

#include "gnome-software-private.h"

G_BEGIN_DECLS

#define GS_TYPE_APP_VERSION_HISTORY_ROW (gs_app_version_history_row_get_type ())

G_DECLARE_FINAL_TYPE (GsAppVersionHistoryRow, gs_app_version_history_row, GS, APP_VERSION_HISTORY_ROW, GtkListBoxRow)

GtkWidget	*gs_app_version_history_row_new		(void);
void		 gs_app_version_history_row_set_info	(GsAppVersionHistoryRow *row,
							 const char		*version_number,
							 guint64		 version_date,
							 const char		*version_description);

G_END_DECLS