> 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
Hello,
What am I doing wrong? I would like an array of gchar values. The
gchar values would be "lx1" "lx2" "dx1" that a user would select from a
GtkTreeView. However, the following line gives an error:
GArray *serverlist = g_array_new(TRUE, FALSE, sizeof(gchar));
The error is:
main.c:58: err
On Sat, 2006-23-12 at 10:30 -1000, Eric Mader wrote:
> I'm trying to render anti aliased bitmaps (i.e. 8 bits per pixel)
> generated by FreeType.
There are some examples in the gfontview code, although the CVS
version of that does not (or didn't last time I tried) compile out
of the box directly
On Sun, 2006-12-24 at 00:26 +0100, Tomasz Jankowski wrote:
> Hello!
>
> This is simple code:
> #include
>
> gboolean pulse_it (gpointer data) {
> gtk_progress_bar_pulse (data);
> return TRUE;
> }
>
> gint thread_fun (gpointer data) {
> gint source_id = g_timeout_add (100, (GSource