Re: Problems with g_signal_connect_swapped()
- From: Mathias André <mathias openbrookes org>
- To: gtk-app-devel-list gnome org
- Subject: Re: Problems with g_signal_connect_swapped()
- Date: Thu, 25 Mar 2004 21:44:41 +0000
Hi,
You are using strcpy without allocating any memory for str which makes
your program to segfault (strcpy needs its first argument to be at least
as large as the second one).
gchar *str, *res = '\0';
...
strcpy(str,gtk_entry_get_text(GTK_ENTRY(campo)));
Mathias
--
'Logic will get you from A to B. Imagination will take you everywhere.'
- Albert Einstein
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]