From 43b1de994fa9f9291be4a215d078efefddac3c6c Mon Sep 17 00:00:00 2001 From: Scoopta Date: Mon, 2 May 2022 01:01:33 -0700 Subject: [PATCH] The GDesktopAppInfo is now properly cast to a GAppInfo --- modes/drun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modes/drun.c b/modes/drun.c index 7b75a4f..b79be00 100644 --- a/modes/drun.c +++ b/modes/drun.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2020 Scoopta + * Copyright (C) 2019-2022 Scoopta * This file is part of Wofi * Wofi is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -75,7 +75,7 @@ static char* get_search_text(char* file) { static bool populate_widget(char* file, char* action, struct widget_builder* builder) { GDesktopAppInfo* info = g_desktop_app_info_new_from_filename(file); - if(info == NULL || !g_app_info_should_show(info)) { + if(info == NULL || !g_app_info_should_show(G_APP_INFO(info))) { return false; } const char* name;