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

@ -15,6 +15,11 @@ Tue Jan 20 16:38:52 1998 Owen Taylor <owt1@cornell.edu>
gtk/testgtk.c: changed to use new version
gtk/Makefile.am gtk/gtk.h
Mon Jan 19 20:10:19 CST 1998 Shawn T. Amundson <amundson@gimp.org>
* gdk/gdk.h Fixed typo where strdup was used instead of g_strdup
(found by Frank Neumann)
Mon Jan 19 16:21:00 1998 Federico Mena <federico@bananoid.nuclecu.unam.mx>
* gtk/gtktoolbar.c (gtk_toolbar_class_init): Set

View File

@ -15,6 +15,11 @@ Tue Jan 20 16:38:52 1998 Owen Taylor <owt1@cornell.edu>
gtk/testgtk.c: changed to use new version
gtk/Makefile.am gtk/gtk.h
Mon Jan 19 20:10:19 CST 1998 Shawn T. Amundson <amundson@gimp.org>
* gdk/gdk.h Fixed typo where strdup was used instead of g_strdup
(found by Frank Neumann)
Mon Jan 19 16:21:00 1998 Federico Mena <federico@bananoid.nuclecu.unam.mx>
* gtk/gtktoolbar.c (gtk_toolbar_class_init): Set

View File

@ -15,6 +15,11 @@ Tue Jan 20 16:38:52 1998 Owen Taylor <owt1@cornell.edu>
gtk/testgtk.c: changed to use new version
gtk/Makefile.am gtk/gtk.h
Mon Jan 19 20:10:19 CST 1998 Shawn T. Amundson <amundson@gimp.org>
* gdk/gdk.h Fixed typo where strdup was used instead of g_strdup
(found by Frank Neumann)
Mon Jan 19 16:21:00 1998 Federico Mena <federico@bananoid.nuclecu.unam.mx>
* gtk/gtktoolbar.c (gtk_toolbar_class_init): Set

View File

@ -15,6 +15,11 @@ Tue Jan 20 16:38:52 1998 Owen Taylor <owt1@cornell.edu>
gtk/testgtk.c: changed to use new version
gtk/Makefile.am gtk/gtk.h
Mon Jan 19 20:10:19 CST 1998 Shawn T. Amundson <amundson@gimp.org>
* gdk/gdk.h Fixed typo where strdup was used instead of g_strdup
(found by Frank Neumann)
Mon Jan 19 16:21:00 1998 Federico Mena <federico@bananoid.nuclecu.unam.mx>
* gtk/gtktoolbar.c (gtk_toolbar_class_init): Set

View File

@ -15,6 +15,11 @@ Tue Jan 20 16:38:52 1998 Owen Taylor <owt1@cornell.edu>
gtk/testgtk.c: changed to use new version
gtk/Makefile.am gtk/gtk.h
Mon Jan 19 20:10:19 CST 1998 Shawn T. Amundson <amundson@gimp.org>
* gdk/gdk.h Fixed typo where strdup was used instead of g_strdup
(found by Frank Neumann)
Mon Jan 19 16:21:00 1998 Federico Mena <federico@bananoid.nuclecu.unam.mx>
* gtk/gtktoolbar.c (gtk_toolbar_class_init): Set

View File

@ -15,6 +15,11 @@ Tue Jan 20 16:38:52 1998 Owen Taylor <owt1@cornell.edu>
gtk/testgtk.c: changed to use new version
gtk/Makefile.am gtk/gtk.h
Mon Jan 19 20:10:19 CST 1998 Shawn T. Amundson <amundson@gimp.org>
* gdk/gdk.h Fixed typo where strdup was used instead of g_strdup
(found by Frank Neumann)
Mon Jan 19 16:21:00 1998 Federico Mena <federico@bananoid.nuclecu.unam.mx>
* gtk/gtktoolbar.c (gtk_toolbar_class_init): Set

View File

@ -15,6 +15,11 @@ Tue Jan 20 16:38:52 1998 Owen Taylor <owt1@cornell.edu>
gtk/testgtk.c: changed to use new version
gtk/Makefile.am gtk/gtk.h
Mon Jan 19 20:10:19 CST 1998 Shawn T. Amundson <amundson@gimp.org>
* gdk/gdk.h Fixed typo where strdup was used instead of g_strdup
(found by Frank Neumann)
Mon Jan 19 16:21:00 1998 Federico Mena <federico@bananoid.nuclecu.unam.mx>
* gtk/gtktoolbar.c (gtk_toolbar_class_init): Set

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;

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;