diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | mate-settings-daemon/main.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index cf4f72a..fa74312 100644 --- a/configure.ac +++ b/configure.ac @@ -53,7 +53,7 @@ dnl - Dependencies dnl --------------------------------------------------------------------------- DBUS_GLIB_REQUIRED_VERSION=0.74 -GLIB_REQUIRED_VERSION=2.50.0 +GLIB_REQUIRED_VERSION=2.58.0 GIO_REQUIRED_VERSION=2.50.0 GTK_REQUIRED_VERSION=3.22.0 MATE_DESKTOP_REQUIRED_VERSION=1.25.0 diff --git a/mate-settings-daemon/main.c b/mate-settings-daemon/main.c index 77de96f..84a06cf 100644 --- a/mate-settings-daemon/main.c +++ b/mate-settings-daemon/main.c @@ -73,7 +73,7 @@ static gboolean timed_exit_cb (void) { gtk_main_quit (); - return FALSE; + return G_SOURCE_REMOVE; } static DBusGProxy * @@ -547,7 +547,7 @@ main (int argc, char *argv[]) } if (do_timed_exit) { - g_timeout_add_seconds (30, (GSourceFunc) timed_exit_cb, NULL); + g_timeout_add_seconds (30, G_SOURCE_FUNC (timed_exit_cb), NULL); } gtk_main (); |