Re: deprecated functions

2002-11-27 Thread Sven Neumann
Hi, Brandon McCombs <[EMAIL PROTECTED]> writes: > > No, there is no such list. Often the function docs will > > say which function to use; other times you just have to know. > > > > How would you know when the docs don't say?? I wondered the same thing a > few days ago. Just about the whole sig

Re: deprecated functions

2002-11-26 Thread Brandon McCombs
Owen Taylor wrote: > > Jeffrey Goddard <[EMAIL PROTECTED]> writes: > > > I was just looking at the docs for 2.0 and it stated that > > gtk_signal_connect is deprecated and should not be used in new > > code. However, I don't seem to be able to find a list of > > replacements for most of the thi

Re: finding deprecated functions in sources

2002-04-02 Thread Deepa Chacko Pillai
-DGDK_PIXMAP_DISABLE_DEPRECATED -Deepa Vitaly Tishkov wrote: > Hi, > > Is there any way of finding deprecated functions calls in code? Or only grep in > sources can help? > > Thanks, > Vitaly. > > ___ > gtk-list mailing l

finding deprecated functions in sources

2002-04-02 Thread Vitaly Tishkov
Hi, Is there any way of finding deprecated functions calls in code? Or only grep in sources can help? Thanks, Vitaly. ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Deprecated functions

2001-10-25 Thread Richard Warren
Hi Havoc and Sven, I hadn't spotted the g_ascii_strncasecmp() function but that'll do nicely now you've pointed it out. Thanks for your help, Richard. ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Deprecated functions

2001-10-25 Thread Sven Neumann
Hi, "Richard Warren" <[EMAIL PROTECTED]> writes: > In this particular instance, I'm thinking of g_strncasecmp() in V1.3.9. g_ascii_strncasecmp() is probably what you want to use instead. g_strncasecmp() can't handle UTF-8 properly since there are multiple ways to express the same string in UT

Re: Deprecated functions

2001-10-25 Thread Havoc Pennington
"Richard Warren" <[EMAIL PROTECTED]> writes: > > Various functions are marked as deprecated in the Glib Reference Manual (and > GTK etc.) with comments such as "This function is deprecated and should not > be used in newly-written code" but no further explanation. > > Would it be possible in th

Deprecated functions

2001-10-25 Thread Richard Warren
Hi All, Various functions are marked as deprecated in the Glib Reference Manual (and GTK etc.) with comments such as "This function is deprecated and should not be used in newly-written code" but no further explanation. Would it be possible in the future to add a brief reason why and/or a sugges

Re: How do I find recommended replacements for deprecated functions?

2001-04-26 Thread Owen Taylor
<[EMAIL PROTECTED]> writes: > If a function is deprecated in the new api the reference manual contains a > fairly generic warning, e.g.: > > gtk_window_set_default_size is deprecated and should not be used in > newly-written code. > > Is there a way to find out what I should be using i

How do I find recommended replacements for deprecated functions?

2001-04-26 Thread skip
If a function is deprecated in the new api the reference manual contains a fairly generic warning, e.g.: gtk_window_set_default_size is deprecated and should not be used in newly-written code. Is there a way to find out what I should be using instead of any given deprecated function? A