diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2020-11-17 11:39:46 +0100 |
---|---|---|
committer | Corentin Noël <corentin.noel@collabora.com> | 2020-11-18 08:56:12 +0100 |
commit | 9cc23c633ec65a8a627f2c1196621dd4d25253a8 (patch) | |
tree | c53e119529977863ddd194bc9e61b63f4f7f377a | |
parent | 6a0219f60befc1564b7b4864c1f4d1f87ff0fabe (diff) | |
download | evolution-data-server-tintou/signal-pointer-to-type.tar.gz |
M!52 - Replace several G_TYPE_POINTER to their actual type in signal declarationtintou/signal-pointer-to-type
This allows GLib to perform some type sanity-checks when required
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/52
-rw-r--r-- | src/calendar/libecal/e-reminder-watcher.c | 4 | ||||
-rw-r--r-- | src/libebackend/e-user-prompter-server.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/calendar/libecal/e-reminder-watcher.c b/src/calendar/libecal/e-reminder-watcher.c index f33aff4c7..97a2d5a47 100644 --- a/src/calendar/libecal/e-reminder-watcher.c +++ b/src/calendar/libecal/e-reminder-watcher.c @@ -2288,8 +2288,8 @@ e_reminder_watcher_class_init (EReminderWatcherClass *klass) NULL, g_cclosure_marshal_generic, G_TYPE_NONE, 4, - G_TYPE_POINTER, - G_TYPE_POINTER, + E_TYPE_REMINDER_WATCHER, + I_CAL_TYPE_TIME, G_TYPE_POINTER, G_TYPE_INT); diff --git a/src/libebackend/e-user-prompter-server.c b/src/libebackend/e-user-prompter-server.c index f9e7088b7..db8bd9612 100644 --- a/src/libebackend/e-user-prompter-server.c +++ b/src/libebackend/e-user-prompter-server.c @@ -423,8 +423,8 @@ e_user_prompter_server_class_init (EUserPrompterServerClass *class) * @primary_text: (nullable): primary text of the prompt; can be %NULL * @secondary_text: (nullable): secondary text of the prompt; can be %NULL * @use_markup: whether both texts are with markup - * @button_captions: (type GStrv) (nullable): captions of buttons to - * use in the message; can be %NULL + * @button_captions: (nullable): captions of buttons to use in the message; + * can be %NULL **/ signals[PROMPT] = g_signal_new ( "prompt", @@ -439,7 +439,7 @@ e_user_prompter_server_class_init (EUserPrompterServerClass *class) G_TYPE_STRING, G_TYPE_STRING, G_TYPE_BOOLEAN, - G_TYPE_POINTER); + G_TYPE_STRV); } static void |