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:10 -0400
commit1ea31494b552368af7bc181709899136ed010ced (patch)
tree3f3b207fb15d8acf27a513a2d872a835fecc2f37
parente1f1e1f56717ce44ebce46f7b9022a501df676f1 (diff)
downloadnautilus-1ea31494b552368af7bc181709899136ed010ced.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. */