g_signal_connect_closure
- From: Thomas Weickert <thomas weickert gmx de>
- To: gtk-app-devel-list gnome org
- Subject: g_signal_connect_closure
- Date: Tue, 28 Aug 2001 06:02:39 +0200
Hello!
First sorry about my english.
I have copied some source from an other project. There was the
callback:
void move_cursor (GtkTextBuffer *buffer, GtkTextIter *iter,
GtkTextMark *m, gpointer data)
{
...
}
connected to a GtkTextBuffer with:
g_signal_connect_closure (G_OBJECT (text), "mark_set",
g_cclosure_new (move_cursor, NULL, NULL),
TRUE);
It works but it gives a warning at compilation time:
warning: passing arg 1 of `g_cclosure_new' from incompatible pointer type
Is there a right way to do this?
thanks in advanced
Thomas
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]