[gtranslator: 9/10] app: Use proper casts
- From: Daniel Garcia Moreno <danigm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator: 9/10] app: Use proper casts
- Date: Mon, 21 Mar 2022 07:03:15 +0000 (UTC)
commit 1d8a23572e0c6e3b329de1cc99e6db9c284768db
Author: Maximiliano Sandoval R <msandova gnome org>
Date: Wed Mar 16 01:14:09 2022 +0100
app: Use proper casts
Without these the app throws some warnings at compile time.
src/gtr-application.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gtr-application.c b/src/gtr-application.c
index 99c8aa5a..0fb51272 100644
--- a/src/gtr-application.c
+++ b/src/gtr-application.c
@@ -187,9 +187,9 @@ gtr_application_init (GtrApplication *application)
{NULL}
};
- g_application_add_main_option_entries (application, options);
+ g_application_add_main_option_entries (G_APPLICATION (application), options);
- g_signal_connect (application, "handle-local-options", handle_local_options_cb, NULL);
+ g_signal_connect (application, "handle-local-options", G_CALLBACK (handle_local_options_cb), NULL);
/* Creating config folder */
ensure_user_config_dir (); /* FIXME: is this really needed ? */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]