diff options
author | rbuj <[email protected]> | 2021-10-27 13:31:32 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-02-19 02:05:45 +0100 |
commit | dc4857ad422547e89d88715c4ca2730e3225a5d7 (patch) | |
tree | 64a43adba88ac99744e1f047b21513d2cfc0df9c /savers/slideshow.c | |
parent | c419a6be1e3ba4ba2c6798414450d2c48016ce49 (diff) | |
download | mate-screensaver-dc4857ad422547e89d88715c4ca2730e3225a5d7.tar.bz2 mate-screensaver-dc4857ad422547e89d88715c4ca2730e3225a5d7.tar.xz |
Unnecessary G_OBJECT cast when calling signal connect function
Diffstat (limited to 'savers/slideshow.c')
-rw-r--r-- | savers/slideshow.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/savers/slideshow.c b/savers/slideshow.c index 58cea19..c479bc7 100644 --- a/savers/slideshow.c +++ b/savers/slideshow.c @@ -93,8 +93,9 @@ main (int argc, char **argv) g_set_prgname ("slideshow"); window = gs_theme_window_new (); - g_signal_connect (G_OBJECT (window), "delete-event", - G_CALLBACK (gtk_main_quit), NULL); + g_signal_connect (window, "delete-event", + G_CALLBACK (gtk_main_quit), + NULL); engine = g_object_new (GSTE_TYPE_SLIDESHOW, NULL); |