|
|
83fdff |
diff -up evolution-3.22.6/calendar/alarm-notify/notify-main.c.gtype-init-workaround evolution-3.22.6/calendar/alarm-notify/notify-main.c
|
|
|
83fdff |
--- evolution-3.22.6/calendar/alarm-notify/notify-main.c.gtype-init-workaround 2017-11-14 11:55:40.525214399 +0100
|
|
|
83fdff |
+++ evolution-3.22.6/calendar/alarm-notify/notify-main.c 2017-11-14 11:56:58.471213321 +0100
|
|
|
83fdff |
@@ -68,6 +68,11 @@ main (gint argc,
|
|
|
83fdff |
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
|
|
83fdff |
textdomain (GETTEXT_PACKAGE);
|
|
|
83fdff |
|
|
|
83fdff |
+ /* Workaround https://bugzilla.gnome.org/show_bug.cgi?id=674885 */
|
|
|
83fdff |
+ g_type_ensure (G_TYPE_DBUS_CONNECTION);
|
|
|
83fdff |
+ g_type_ensure (G_TYPE_DBUS_PROXY);
|
|
|
83fdff |
+ g_type_ensure (G_BUS_TYPE_SESSION);
|
|
|
83fdff |
+
|
|
|
83fdff |
gtk_init (&argc, &argv);
|
|
|
83fdff |
|
|
|
83fdff |
alarm_notify_service = alarm_notify_new (NULL, &error);
|
|
|
83fdff |
diff -up evolution-3.22.6/shell/main.c.gtype-init-workaround evolution-3.22.6/shell/main.c
|
|
|
83fdff |
--- evolution-3.22.6/shell/main.c.gtype-init-workaround 2017-11-14 11:55:40.525214399 +0100
|
|
|
83fdff |
+++ evolution-3.22.6/shell/main.c 2017-11-14 11:57:34.104212829 +0100
|
|
|
83fdff |
@@ -459,6 +459,11 @@ main (gint argc,
|
|
|
83fdff |
/* Initialize timezone specific global variables */
|
|
|
83fdff |
tzset ();
|
|
|
83fdff |
|
|
|
83fdff |
+ /* Workaround https://bugzilla.gnome.org/show_bug.cgi?id=674885 */
|
|
|
83fdff |
+ g_type_ensure (G_TYPE_DBUS_CONNECTION);
|
|
|
83fdff |
+ g_type_ensure (G_TYPE_DBUS_PROXY);
|
|
|
83fdff |
+ g_type_ensure (G_BUS_TYPE_SESSION);
|
|
|
83fdff |
+
|
|
|
83fdff |
/* The contact maps feature uses clutter-gtk. */
|
|
|
83fdff |
#ifdef WITH_CONTACT_MAPS
|
|
|
83fdff |
success = gtk_clutter_init_with_args (
|