Re: passing 3 widgets as parameters to g_signal_connect
- From: Sven Neumann <sven gimp org>
- To: Russell Shaw <rjshaw netspace net au>
- Cc: gtk-list gnome org
- Subject: Re: passing 3 widgets as parameters to g_signal_connect
- Date: 05 Jul 2004 17:26:19 +0200
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.
Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]