Re: How to copy data between widgets?
- From: Mohammed Sameer <uniball gmx net>
- To: gtk-app-devel-list gnome org
- Subject: Re: How to copy data between widgets?
- Date: Tue, 8 Aug 2006 17:48:41 +0300
On Tue, Aug 08, 2006 at 05:33:58PM +0300, Mohammed Sameer wrote:
On Tue, Aug 08, 2006 at 11:29:43AM -0300, RomÃn Gorojovsky wrote:
IIRC I did
GtkWidget *label;
struct my_data *data;
/* Initialize label */
data->l = label;
and got a Segmentation fault there. But I'll try again I guess....
data = g_malloc(my_data);
data->l = label;
Oops.
g_new();
--
GNU/Linux registered user #224950
Proud Egyptian GNU/Linux User Group <www.eglug.org> Member.
Life powered by Debian, Homepage: www.foolab.org
--
Don't send me any attachment in Micro$oft (.DOC, .PPT) format please
Read http://www.gnu.org/philosophy/no-word-attachments.html
Preferable attachments: .PDF, .HTML, .TXT
Thanx for adding this text to Your signature
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]