From d1da1a45a08fcfdbd5adaab7540f9d3c2c570174 Mon Sep 17 00:00:00 2001 From: Shawn Amundson Date: Wed, 21 Jan 1998 05:13:01 +0000 Subject: [PATCH] strdup changed to g_strdup -Shawn --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gdk/gdk.c | 2 +- gdk/x11/gdkmain-x11.c | 2 +- 9 files changed, 37 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 455c8ab6b5..8ffe7c6724 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15,6 +15,11 @@ Tue Jan 20 16:38:52 1998 Owen Taylor 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 + + * 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 * gtk/gtktoolbar.c (gtk_toolbar_class_init): Set diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 455c8ab6b5..8ffe7c6724 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -15,6 +15,11 @@ Tue Jan 20 16:38:52 1998 Owen Taylor 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 + + * 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 * gtk/gtktoolbar.c (gtk_toolbar_class_init): Set diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 455c8ab6b5..8ffe7c6724 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -15,6 +15,11 @@ Tue Jan 20 16:38:52 1998 Owen Taylor 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 + + * 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 * gtk/gtktoolbar.c (gtk_toolbar_class_init): Set diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 455c8ab6b5..8ffe7c6724 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -15,6 +15,11 @@ Tue Jan 20 16:38:52 1998 Owen Taylor 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 + + * 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 * gtk/gtktoolbar.c (gtk_toolbar_class_init): Set diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 455c8ab6b5..8ffe7c6724 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -15,6 +15,11 @@ Tue Jan 20 16:38:52 1998 Owen Taylor 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 + + * 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 * gtk/gtktoolbar.c (gtk_toolbar_class_init): Set diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 455c8ab6b5..8ffe7c6724 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -15,6 +15,11 @@ Tue Jan 20 16:38:52 1998 Owen Taylor 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 + + * 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 * gtk/gtktoolbar.c (gtk_toolbar_class_init): Set diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 455c8ab6b5..8ffe7c6724 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -15,6 +15,11 @@ Tue Jan 20 16:38:52 1998 Owen Taylor 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 + + * 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 * gtk/gtktoolbar.c (gtk_toolbar_class_init): Set diff --git a/gdk/gdk.c b/gdk/gdk.c index e7cc861643..6ab60dc600 100644 --- a/gdk/gdk.c +++ b/gdk/gdk.c @@ -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; diff --git a/gdk/x11/gdkmain-x11.c b/gdk/x11/gdkmain-x11.c index e7cc861643..6ab60dc600 100644 --- a/gdk/x11/gdkmain-x11.c +++ b/gdk/x11/gdkmain-x11.c @@ -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;