Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1454962 Details for
Bug 1595211
PATCH: fix Window title being <unknown> and non svg icon being used
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
[PATCH] Pass application basename to gtk_init().
0001-Pass-application-basename-to-gtk_init.patch (text/plain), 958 bytes, created by
Hans de Goede
on 2018-06-27 07:36:13 UTC
(
hide
)
Description:
[PATCH] Pass application basename to gtk_init().
Filename:
MIME Type:
Creator:
Hans de Goede
Created:
2018-06-27 07:36:13 UTC
Size:
958 bytes
patch
obsolete
>From 7184a1c8079644d920c0ebd9baec712821ce2f4f Mon Sep 17 00:00:00 2001 >From: John Lindgren <john@jlindgren.net> >Date: Wed, 27 Jun 2018 03:05:13 -0400 >Subject: [PATCH] Pass application basename to gtk_init(). > >This allows the WM_CLASS property to be set correctly without >relying on /proc/self/cmdline (which is not available on e.g. >FreeBSD). >--- > src/libaudgui/init.cc | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >diff --git a/src/libaudgui/init.cc b/src/libaudgui/init.cc >index 5732ed664..c3d3a7651 100644 >--- a/src/libaudgui/init.cc >+++ b/src/libaudgui/init.cc >@@ -340,7 +340,13 @@ EXPORT void audgui_init () > if (init_count ++) > return; > >- gtk_init (nullptr, nullptr); >+ static char app_name[] = "audacious"; >+ static char * app_args[] = {app_name, nullptr}; >+ >+ int dummy_argc = 1; >+ char * * dummy_argv = app_args; >+ >+ gtk_init (& dummy_argc, & dummy_argv); > > if (! icons_loaded) > { >-- >2.17.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1595211
:
1454626
|
1454962
|
1454964