Commit 4771ebd3 authored by Debarshi Ray's avatar Debarshi Ray

export-notification: Fix typo

The housekeeping plugin's D-Bus name changed in GNOME 3.24, not 3.26,
which was shipped in Fedora 26. Confusing!

Fallout from 8ad2cbdd
parent 8ad2cbdd
......@@ -135,7 +135,7 @@ photos_export_notification_empty_trash_call_empty_trash (GObject *source_object,
static void
photos_export_notification_empty_trash_call_empty_trash_pre_3_26 (GObject *source_object,
photos_export_notification_empty_trash_call_empty_trash_pre_3_24 (GObject *source_object,
GAsyncResult *res,
gpointer user_data)
{
......@@ -168,7 +168,7 @@ photos_export_notification_empty_trash_call_empty_trash_pre_3_26 (GObject *sourc
}
else
{
g_warning ("Unable to call org.gnome.SettingsDaemon.Housekeeping:EmptyTrash (GNOME < 3.26): %s",
g_warning ("Unable to call org.gnome.SettingsDaemon.Housekeeping:EmptyTrash (GNOME < 3.24): %s",
error->message);
}
}
......@@ -203,7 +203,7 @@ photos_export_notification_empty_trash_bus_get (GObject *source_object, GAsyncRe
G_DBUS_CALL_FLAGS_NONE,
-1,
NULL,
photos_export_notification_empty_trash_call_empty_trash_pre_3_26,
photos_export_notification_empty_trash_call_empty_trash_pre_3_24,
NULL);
out:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment