From 6c7e2cc6396289a4f67e6147fea50f0fbe70e9df Mon Sep 17 00:00:00 2001 From: Roddy Shuler Date: Fri, 30 Aug 2013 11:20:48 -0700 Subject: Set prgname rather than wmclass directly Changes were made by Cosimo. Per Cosimo, applications should not call gtk_window_set_wmclass directly. Calls to g_set_prgname will indirectly set the wmclass. [endlessm/eos-shell#853] --- endless/eoswindow.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'endless/eoswindow.c') diff --git a/endless/eoswindow.c b/endless/eoswindow.c index 37216f3..8735ae2 100644 --- a/endless/eoswindow.c +++ b/endless/eoswindow.c @@ -381,11 +381,6 @@ set_application (EosWindow *self, "for it to connect to."); return; } - - /* Application's WM_CLASS hint should be the application ID */ - const gchar *id; - id = g_application_get_application_id (G_APPLICATION (application)); - gtk_window_set_wmclass (GTK_WINDOW (self), id, id); } static void -- cgit v1.2.3