Re: passing 3 widgets as parameters to g_signal_connect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sven Neumann wrote:
Hi,

Russell Shaw <rjshaw@xxxxxxxxxxxxxxx> 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). _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux