Re: fix for: assignment discards qualifiers from pointer target type

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

 



* John Cupitt (jcupitt@xxxxxxxxx) wrote:
> On Wed, 14 Jul 2004 20:53:16 -0700, Carl B. Constantine
> <duckwing@xxxxxxxxxxx> wrote:
> > gchar   *userid = NULL;
> > 
> > userid = gtk_entry_get_text(GTK_ENTRY(lookup_widget(logon, "password)));
> 
> Try
> 
>   const char *userid = gtk_entry_get_text( GTK_ENTRY( ...

That works great. Thank you.

Now, any ideas on the other problem I had printing the string pointer?

-- 
 .''`.      Carl B. Constantine
: :' :     duckwing@xxxxxxxxxxx
`. `'    GnuPG: 135F FC30 7A02 B0EB 61DB  34E3 3AF1 DC6C 9F7A 3FF8
  `-  Debian GNU/Linux -- The power of freedom
  "Claiming that your operating system is the best in the world because more
  people use it is like saying McDonalds makes the best food in the world."
_______________________________________________

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