diff options
author | Roddy Shuler <roddy@endlessm.com> | 2013-08-30 11:20:48 -0700 |
---|---|---|
committer | Roddy Shuler <roddy@endlessm.com> | 2013-08-30 11:20:48 -0700 |
commit | 6c7e2cc6396289a4f67e6147fea50f0fbe70e9df (patch) | |
tree | 6edb747e20c033d62895c232d19b9b242ff17f1c /endless/eoswindow.c | |
parent | fd2059521807e71da5bffd9d7ca3a6f9448c1fd5 (diff) |
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]
Diffstat (limited to 'endless/eoswindow.c')
-rw-r--r-- | endless/eoswindow.c | 5 |
1 files changed, 0 insertions, 5 deletions
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 |