summaryrefslogtreecommitdiffstats
path: root/src/gs-review-bar.h
blob: 7fab0b334981a579ccdc79c390d8ff54998e7b3a (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
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
 * vi:set noexpandtab tabstop=8 shiftwidth=8:
 *
 * Copyright (C) 2016 Canonical Ltd.
 *
 * SPDX-License-Identifier: GPL-2.0+
 */

#pragma once

#include <gtk/gtk.h>

G_BEGIN_DECLS

#define GS_TYPE_REVIEW_BAR (gs_review_bar_get_type ())

G_DECLARE_FINAL_TYPE (GsReviewBar, gs_review_bar, GS, REVIEW_BAR, GtkWidget)

GtkWidget	*gs_review_bar_new		(void);

void		 gs_review_bar_set_fraction	(GsReviewBar	*bar,
						 gdouble	 fraction);

G_END_DECLS