Re: passing 3 widgets as parameters to g_signal_connect
- From: Russell Shaw <rjshaw netspace net au>
- Cc: gtk-list gnome org
- Subject: Re: passing 3 widgets as parameters to g_signal_connect
- Date: Tue, 06 Jul 2004 01:39:25 +1000
Sven Neumann wrote:
Hi,
Russell Shaw <rjshaw netspace net au> writes:
G_CONST_RETURN gchar *oper1,*oper2;
oper1 = gtk_entry_get_text(GTK_ENTRY(elem->op1));
oper2 = gtk_entry_get_text(GTK_ENTRY(elem->op2));
Why would you use G_CONST_RETURN here? The right thing to do is to use
the const qualifier directly.
Yes, not thinking again (too much pasting).
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]