[gnome-software] trivial: Add cast to avoid warning
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Add cast to avoid warning
- Date: Sun, 14 Jul 2019 23:52:38 +0000 (UTC)
commit 8528476153b64078bdabf0bb0de1d3d7c356c3e5
Author: Robert Ancell <robert ancell canonical com>
Date: Mon Jul 15 11:36:04 2019 +1200
trivial: Add cast to avoid warning
The cast was missing in commit 5a2293434
src/gs-search-page.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-search-page.c b/src/gs-search-page.c
index 9d70c49c..c543faef 100644
--- a/src/gs-search-page.c
+++ b/src/gs-search-page.c
@@ -118,7 +118,7 @@ gs_search_page_get_search_cb (GObject *source_object,
for (i = 0; i < gs_app_list_length (list); i++) {
app = gs_app_list_index (list, i);
app_row = gs_app_row_new (app);
- gs_app_row_set_show_rating (app_row, TRUE);
+ gs_app_row_set_show_rating (GS_APP_ROW (app_row), TRUE);
g_signal_connect (app_row, "button-clicked",
G_CALLBACK (gs_search_page_app_row_clicked_cb),
self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]