diff options
author | rbuj <[email protected]> | 2020-02-27 22:38:43 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-03-13 16:43:30 +0100 |
commit | 242b68ceddb217a42547d578898be841dca2f4a3 (patch) | |
tree | 6e661efc8f713cf00400e7526b4c20c3659c2c81 /src/mate-screensaver-dialog.c | |
parent | ec8db2297fc1d435d26de2006b429b1e6ffdc8a3 (diff) | |
download | mate-screensaver-242b68ceddb217a42547d578898be841dca2f4a3.tar.bz2 mate-screensaver-242b68ceddb217a42547d578898be841dca2f4a3.tar.xz |
Remove warnings: cast between incompatible function types
Diffstat (limited to 'src/mate-screensaver-dialog.c')
-rw-r--r-- | src/mate-screensaver-dialog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mate-screensaver-dialog.c b/src/mate-screensaver-dialog.c index 62daa98..2074a13 100644 --- a/src/mate-screensaver-dialog.c +++ b/src/mate-screensaver-dialog.c @@ -345,7 +345,7 @@ static gboolean auth_check_idle(GSLockPlug* plug) if (res) { again = FALSE; - g_idle_add((GSourceFunc) quit_response_ok, NULL); + g_idle_add (G_SOURCE_FUNC (quit_response_ok), NULL); } else { @@ -363,7 +363,7 @@ static gboolean auth_check_idle(GSLockPlug* plug) /* Don't quit immediately, but rather request that mate-screensaver * terminates us after it has finished the dialog shake. Time out * after 5 seconds and quit anyway if this doesn't happen though */ - g_idle_add((GSourceFunc) response_request_quit, NULL); + g_idle_add (G_SOURCE_FUNC (response_request_quit), NULL); g_timeout_add(5000, (GSourceFunc) quit_timeout_cb, NULL); } } @@ -595,7 +595,7 @@ int main(int argc, char** argv) gs_debug_init(verbose, FALSE); - g_idle_add((GSourceFunc) popup_dialog_idle, NULL); + g_idle_add (G_SOURCE_FUNC (popup_dialog_idle), NULL); gtk_main(); |