Re: g_array_new problem with initializer element
- From: "Jim George" <jimgeorge gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: g_array_new problem with initializer element
- Date: Mon, 25 Dec 2006 00:10:16 -0700
GtkTreeView. However, the following line gives an error:
GArray *serverlist = g_array_new(TRUE, FALSE, sizeof(gchar));
The error is:
main.c:58: error: initializer element is not constant
This should work. Check that you don't have errors in the lines
previous to this in your program. Something like leaving out a
terminating brace on an initializer list.
-Jim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]