Olivier Sessink wrote:
Colossus wrote:
Hi,
I tried with g_spawn_async_with_pipes and with gspawn_async
but it does not work. In the first case the output (the decompressed
bzip2 file) is redirected to a GTK window so I used g_spawn_async (no
pipes) but the output is directed to the shell
thanks, i had just modified the makefile as follows
CFLAGS= ... 'pkg-config --cflags gtk+-2.0 gthread-2.0'
LIBS='pkg-config --libs gtk+-2.0 gthread-2.0'
Now it's all right ;) .
I have another question. I have to pass from main.c to the gtk interface an
array pointer. How can i do
On Thursday 06 October 2005 18:48, Colossus wrote:
Olivier Sessink wrote:
Colossus wrote:
Hi,
I tried with g_spawn_async_with_pipes and with gspawn_async
but it does not work. In the first case the output (the decompressed
bzip2 file) is redirected to a GTK window so I used g_spawn_async
On 10/6/05, Nikolaj KiƦr Thygesen [EMAIL PROTECTED] wrote:
... and after a number of years developing phones for the low-end
market I'm very much used to the low-resource situation :o) I feel a slight
discomfort from not checking pointer return values, but if it's to no avail
In some software we are writing we use glib pretty much everywhere, and
G_INLINE_FUNC to manage all of our inline functions. We're just trying
to upgrade from glib 2.4.8 to glib 2.6.6, and the change from static
inline to extern inline has exposed some bugs in our code/glib.
We have headers,
On Thursday 06 October 2005 19:16, Colossus wrote:
thanks for replying. I don not read with the Unix read function but
with G_IO_Channel glib functions:
static gboolean ExtractToDifferentLocation (GIOChannel *ioc,
GIOCondition cond, gpointer data)
{
if (cond (G_IO_IN | G_IO_PRI) )
Colossus wrote:
g_io_channel_read_line ( ioc, line, NULL, NULL, NULL );
if (line != NULL )
{
fwrite ( line, 1, strlen(line) , fd );
g_free (line);
}
Come on, read this code carefully: If you assume that you alway extract
text-only data,
Andreas Stricker wrote:
Come on, read this code carefully: If you assume that you alway extract
text-only data, it's ok. But in all other case, you read in a line
and write the data from line buffer start to the first including null
byte to fd. That is really not what you want.
Use a not text
I've got a TreeView which has four columns, one of which is editable.
There are two things I am trying to do to make editing easier for the
user, but I can't see how to achieve either:
1) Starting editing with a single click on the editable cell. That is,
if a user clicks on the editable
Kurucz Istvan wrote:
Hy!
I would like that, the visiting-card window is present in the middle of
modaled main window. I no purpose use the gtk_window_set_position
(MainWindow, GTK_WIN_POS_CENTER_ON_PARENT) funciton, the visiting-card
window always present an other, outside of the main
Hy!
On Thu, 6 Oct 2005, Tristan Van Berkom wrote:
gtk_window_set_position() should just work, if it doesnt work for you,
chances are that you are useing a light window manager that doesn't
implement
that (I've seen this not work on sawfish for example).
Ehhh... GTK+ 2.4.x and Xfce 4.2.x
Colossus wrote:
I tried with g_spawn_async_with_pipes and with gspawn_async
but it does not work. In the first case the output (the decompressed
bzip2 file) is redirected to a GTK window so I used g_spawn_async (no
pipes) but the output is directed to the shell window from which I ran
my
Will Luesley wrote:
I've got a TreeView which has four columns, one of which is editable.
There are two things I am trying to do to make editing easier for the
user, but I can't see how to achieve either:
1) Starting editing with a single click on the editable cell. That is,
if a user
Brandon I've gotten a few tests to build by G_INLINE_FUNC to be empty
Brandon before including the .c file. Another approach would be moving the
Brandon include of the .c file up to the top of the test, so
G_IMPLEMENT_INLINES
Brandon is set from the beginning, but that's not entirely foolproof
14 matches
Mail list logo