From 56294d30a82ec2da6f9ce399740c1ef65a9ddef4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 17:18:46 +0200 Subject: Adding upstream version 3.38.1. Signed-off-by: Daniel Baumann --- src/gs-review-histogram.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/gs-review-histogram.h (limited to 'src/gs-review-histogram.h') diff --git a/src/gs-review-histogram.h b/src/gs-review-histogram.h new file mode 100644 index 0000000..ada8073 --- /dev/null +++ b/src/gs-review-histogram.h @@ -0,0 +1,29 @@ +/* -*- 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 + +G_BEGIN_DECLS + +#define GS_TYPE_REVIEW_HISTOGRAM (gs_review_histogram_get_type ()) + +G_DECLARE_DERIVABLE_TYPE (GsReviewHistogram, gs_review_histogram, GS, REVIEW_HISTOGRAM, GtkBin) + +struct _GsReviewHistogramClass +{ + GtkBinClass parent_class; +}; + +GtkWidget *gs_review_histogram_new (void); + +void gs_review_histogram_set_ratings (GsReviewHistogram *histogram, + GArray *review_ratings); + +G_END_DECLS -- cgit v1.2.3