summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-10-15 11:13:46 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2012-10-15 11:15:17 -0400
commit685d149e09470b4acf58024e82b461e52079a9ed (patch)
treebb6c82b512b06424d83ccdcf46dd7db23df87a5c
parent7666f837777b73903ce2f6000503a3ed8183106f (diff)
downloadnautilus-685d149e09470b4acf58024e82b461e52079a9ed.tar.gz
application: call gtk_init() manually when doing self checks
We used to do this implicitly, but 6b5ffd4e8841202d31e444358b542ffbeac516bf made it necessary to call it manually, since we avoid g_application_register() when we perform self checks.
-rw-r--r--src/nautilus-application.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nautilus-application.c b/src/nautilus-application.c
index 4038e9053..4ae2264ea 100644
--- a/src/nautilus-application.c
+++ b/src/nautilus-application.c
@@ -1033,6 +1033,8 @@ static void
do_perform_self_checks (gint *exit_status)
{
#ifndef NAUTILUS_OMIT_SELF_CHECK
+ gtk_init (NULL, NULL);
+
nautilus_profile_start (NULL);
/* Run the checks (each twice) for nautilus and libnautilus-private. */