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 1454964 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), 986 bytes, created by
Hans de Goede
on 2018-06-27 07:44:18 UTC
(
hide
)
Description:
[PATCH] Pass application basename to gtk_init().
Filename:
MIME Type:
Creator:
Hans de Goede
Created:
2018-06-27 07:44:18 UTC
Size:
986 bytes
patch
obsolete
>From b5f9196fc396b53a4f09858349f0aefe916614d4 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 aa5b93cc5..8e1d52216 100644 >--- a/src/libaudgui/init.cc >+++ b/src/libaudgui/init.cc >@@ -145,7 +145,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); > > aud_config_set_defaults ("audgui", audgui_defaults); > >-- >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