summaryrefslogtreecommitdiff
path: root/gtk/gtkapplicationprivate.h
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2016-03-04 11:10:18 -0500
committerMatthias Clasen <mclasen@redhat.com>2016-03-04 20:17:26 -0500
commit046a4a6e0fbb57096f05b537248095c9c32c6744 (patch)
tree56db34b448b65678c0fce37a5773a9f32cdf29cc /gtk/gtkapplicationprivate.h
parentfdde27ea9ced5b8489127ed69e00f9ca363c799f (diff)
downloadgtk+-046a4a6e0fbb57096f05b537248095c9c32c6744.tar.gz
gtkapplication-dbus: use application id instead of prgname for SM
gnome-session takes an "app id" for client and inhibitor registration, This app id is supposed to be a desktop file id (complete with the .desktop extension), but gtk+ currently uses g_get_prgname (). This commit changes gtkapplication to use the application id instead, which is a much more natural fit. gnome-session is going to be updated to stop using the .desktop extension, too, so everything is consistent. https://bugzilla.gnome.org/show_bug.cgi?id=763106
Diffstat (limited to 'gtk/gtkapplicationprivate.h')
-rw-r--r--gtk/gtkapplicationprivate.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkapplicationprivate.h b/gtk/gtkapplicationprivate.h
index dbd711563b..35819f8618 100644
--- a/gtk/gtkapplicationprivate.h
+++ b/gtk/gtkapplicationprivate.h
@@ -133,7 +133,6 @@ typedef struct
guint menubar_id;
/* Session management... */
- gchar *app_id; /* actually prgname... */
GDBusProxy *sm_proxy;
GDBusProxy *client_proxy;
gchar *client_path;