diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-23 18:37:38 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-23 18:37:38 +0100 |
commit | e56dcdc361562b2e0c8ed719f2b2b50e279445ed (patch) | |
tree | 85c90e759cab8d516b785856e90e8578e9bebfac /plugins/gtkui | |
parent | 26a62ff80580a053ac676dafc8c7b894276f5c18 (diff) |
fixed gtk WM_CLASS setup
Diffstat (limited to 'plugins/gtkui')
-rw-r--r-- | plugins/gtkui/gtkui.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/gtkui/gtkui.c b/plugins/gtkui/gtkui.c index cc5f76b3..322d0fc0 100644 --- a/plugins/gtkui/gtkui.c +++ b/plugins/gtkui/gtkui.c @@ -369,7 +369,10 @@ gtkui_thread (void *ctx) { gdk_threads_init (); gdk_threads_enter (); gtk_set_locale (); - gtk_init (0, NULL); + int argc = 1; + char **argv = alloca (sizeof (char *)); + argv[0] = "deadbeef"; + gtk_init (&argc, (char ***)&argv); // system tray icon traymenu = create_traymenu (); |