forked from AuroraMiddleware/gtk
added gdk_progclass==NULL patch by Oliver Graf <ograf@fga.de>. -timj
* gdk.c: added gdk_progclass==NULL patch by Oliver Graf <ograf@fga.de>. -timj
This commit is contained in:
parent
8a6dea2d55
commit
bb698f73f4
@ -1,3 +1,7 @@
|
||||
Thu Dec 11 09:44:03 1997 Tim Janik <timj@psynet.net>
|
||||
|
||||
* gdk.c: added gdk_progclass==NULL patch by Oliver Graf <ograf@fga.de>.
|
||||
|
||||
Wed Dec 10 23:40:03 1997 Tim Janik <timj@psynet.net>
|
||||
|
||||
* fixed some compiler errors, because g_return_if_fail() wasn't used
|
||||
|
@ -1,3 +1,7 @@
|
||||
Thu Dec 11 09:44:03 1997 Tim Janik <timj@psynet.net>
|
||||
|
||||
* gdk.c: added gdk_progclass==NULL patch by Oliver Graf <ograf@fga.de>.
|
||||
|
||||
Wed Dec 10 23:40:03 1997 Tim Janik <timj@psynet.net>
|
||||
|
||||
* fixed some compiler errors, because g_return_if_fail() wasn't used
|
||||
|
@ -1,3 +1,7 @@
|
||||
Thu Dec 11 09:44:03 1997 Tim Janik <timj@psynet.net>
|
||||
|
||||
* gdk.c: added gdk_progclass==NULL patch by Oliver Graf <ograf@fga.de>.
|
||||
|
||||
Wed Dec 10 23:40:03 1997 Tim Janik <timj@psynet.net>
|
||||
|
||||
* fixed some compiler errors, because g_return_if_fail() wasn't used
|
||||
|
@ -1,3 +1,7 @@
|
||||
Thu Dec 11 09:44:03 1997 Tim Janik <timj@psynet.net>
|
||||
|
||||
* gdk.c: added gdk_progclass==NULL patch by Oliver Graf <ograf@fga.de>.
|
||||
|
||||
Wed Dec 10 23:40:03 1997 Tim Janik <timj@psynet.net>
|
||||
|
||||
* fixed some compiler errors, because g_return_if_fail() wasn't used
|
||||
|
@ -1,3 +1,7 @@
|
||||
Thu Dec 11 09:44:03 1997 Tim Janik <timj@psynet.net>
|
||||
|
||||
* gdk.c: added gdk_progclass==NULL patch by Oliver Graf <ograf@fga.de>.
|
||||
|
||||
Wed Dec 10 23:40:03 1997 Tim Janik <timj@psynet.net>
|
||||
|
||||
* fixed some compiler errors, because g_return_if_fail() wasn't used
|
||||
|
@ -1,3 +1,7 @@
|
||||
Thu Dec 11 09:44:03 1997 Tim Janik <timj@psynet.net>
|
||||
|
||||
* gdk.c: added gdk_progclass==NULL patch by Oliver Graf <ograf@fga.de>.
|
||||
|
||||
Wed Dec 10 23:40:03 1997 Tim Janik <timj@psynet.net>
|
||||
|
||||
* fixed some compiler errors, because g_return_if_fail() wasn't used
|
||||
|
@ -1,3 +1,7 @@
|
||||
Thu Dec 11 09:44:03 1997 Tim Janik <timj@psynet.net>
|
||||
|
||||
* gdk.c: added gdk_progclass==NULL patch by Oliver Graf <ograf@fga.de>.
|
||||
|
||||
Wed Dec 10 23:40:03 1997 Tim Janik <timj@psynet.net>
|
||||
|
||||
* fixed some compiler errors, because g_return_if_fail() wasn't used
|
||||
|
@ -450,6 +450,11 @@ gdk_init (int *argc,
|
||||
10, 10, 10, 10, 0, 0 , 0);
|
||||
class_hint = XAllocClassHint();
|
||||
class_hint->res_name = gdk_progname;
|
||||
if (gdk_progclass == NULL)
|
||||
{
|
||||
gdk_progclass = strdup (gdk_progname);
|
||||
gdk_progclass[0] = toupper (gdk_progclass[0]);
|
||||
}
|
||||
class_hint->res_class = gdk_progclass;
|
||||
XSetClassHint(gdk_display, gdk_leader_window, class_hint);
|
||||
XSetCommand(gdk_display, gdk_leader_window, argv_orig, argc_orig);
|
||||
|
@ -450,6 +450,11 @@ gdk_init (int *argc,
|
||||
10, 10, 10, 10, 0, 0 , 0);
|
||||
class_hint = XAllocClassHint();
|
||||
class_hint->res_name = gdk_progname;
|
||||
if (gdk_progclass == NULL)
|
||||
{
|
||||
gdk_progclass = strdup (gdk_progname);
|
||||
gdk_progclass[0] = toupper (gdk_progclass[0]);
|
||||
}
|
||||
class_hint->res_class = gdk_progclass;
|
||||
XSetClassHint(gdk_display, gdk_leader_window, class_hint);
|
||||
XSetCommand(gdk_display, gdk_leader_window, argv_orig, argc_orig);
|
||||
|
Loading…
Reference in New Issue
Block a user