strdup changed to g_strdup

-Shawn
This commit is contained in:
Shawn Amundson
1998-01-21 05:13:01 +00:00
parent 06f64ff941
commit d1da1a45a0
9 changed files with 37 additions and 2 deletions

View File

@ -456,7 +456,7 @@ gdk_init (int *argc,
class_hint->res_name = gdk_progname;
if (gdk_progclass == NULL)
{
gdk_progclass = strdup (gdk_progname);
gdk_progclass = g_strdup (gdk_progname);
gdk_progclass[0] = toupper (gdk_progclass[0]);
}
class_hint->res_class = gdk_progclass;