GNOME Bugzilla – Bug 683790
daemon: export a Version on the bus
Last modified: 2012-09-14 15:58:16 UTC
This will allow clients such as gnome-shell to do runtime detection of gdm and fallback gracefully if not available.
Created attachment 224008 [details] [review] daemon: export a Version on the bus
Review of attachment 224008 [details] [review]: Sure. ::: daemon/gdm-manager.c @@ +1053,3 @@ + gdm_dbus_manager_set_version (GDM_DBUS_MANAGER (manager), PACKAGE_VERSION); + This is fine, though, an alternative approach to consider would be: "version", PACKAGE_VERSION in the g_object_new in gdm_manager_new. Up to you. ::: daemon/gdm-manager.h @@ +46,3 @@ typedef struct { + GdmDBusManagerSkeletonClass parent_class; the changes in this file should be in their own commit
Attachment 224008 [details] pushed as d73f46f - daemon: export a Version on the bus