X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fmain.c;h=04aa5ea18ce76b4f58e6f45edbf765f9282964d4;hb=refs%2Ftags%2FEVINCE_2_23_5;hp=e0fc99331700bc52ff860be6eeb7fcc1c24f4c3c;hpb=e912e532fd67211aa87ac79414efb30f30a00fab;p=evince.git diff --git a/shell/main.c b/shell/main.c index e0fc9933..04aa5ea1 100644 --- a/shell/main.c +++ b/shell/main.c @@ -21,6 +21,7 @@ #include "ev-application.h" #include "ev-metadata-manager.h" +#include "ev-debug.h" #include #include @@ -251,7 +252,7 @@ load_files_remote (const char **files, connection = dbus_g_bus_get (DBUS_BUS_STARTER, &error); if (connection == NULL) { - g_warning (error->message); + g_warning ("%s", error->message); g_error_free (error); return FALSE; @@ -267,7 +268,7 @@ load_files_remote (const char **files, G_TYPE_UINT, timestamp, G_TYPE_INVALID, G_TYPE_INVALID)) { - g_warning (error->message); + g_warning ("%s", error->message); g_clear_error (&error); g_object_unref (remote_object); dbus_g_connection_unref (connection); @@ -297,7 +298,7 @@ load_files_remote (const char **files, G_TYPE_UINT, timestamp, G_TYPE_INVALID, G_TYPE_INVALID)) { - g_warning (error->message); + g_warning ("%s", error->message); g_clear_error (&error); g_free (uri); continue; @@ -378,6 +379,8 @@ main (int argc, char *argv[]) } #endif + ev_debug_init (); + #if WITH_GNOME gnome_authentication_manager_init (); #endif