kee

Offline IOU signer with QR as transport
git clone https://holbrook.no/src/kee
Info | Log | Files | Refs | README | LICENSE

commit 362138ea2ae512be3a69278c60ed70e2a17d8e43
parent 8784cb438cbe5baef1e049f35a00996f394ed27d
Author: lash <dev@holbrook.no>
Date:   Wed, 28 Feb 2024 16:00:10 +0000

Remove unnecessary cast lines

Diffstat:
Msrc/gtk/main.c | 10++--------
1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/src/gtk/main.c b/src/gtk/main.c @@ -11,17 +11,11 @@ static void startup(GtkApplication *app, gpointer user_data) { } static void activate(GtkApplication *app, gpointer user_data) { - struct ui_container *ui; - - ui = (struct ui_container*)user_data; - ui_build(app, ui); + ui_build(app, user_data); } static void deactivate(GtkApplication *app, gpointer user_data) { - struct ui_container *ui; - - ui = (struct ui_container*)user_data; - ui_free(ui); + ui_free(user_data); } int main(int argc, char **argv) {