Re: passing 3 widgets as parameters to g_signal_connect



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]