John Darrington <j...@darrington.wattle.id.au> writes:

> On Sun, Apr 22, 2012 at 11:12:24AM -0700, Ben Pfaff wrote:
>       
>      +  tree_column_signals[QUERY_TOOLTIP] =
>      +    g_signal_new (I_("query-tooltip"),
>
> What does the I_ do here?  Is this a convention we should be using for 
> signals 
> in other parts of the code?

I copied this pattern from GTK+ code.

./gtk/gtkintl.h has:
        #define I_(string) g_intern_static_string (string)

I guess it's probably intended as a small optimization.  But,
looking at g_signal_new, I don't think it's really good for
anything.

I'll remove these from the whole patch series.

_______________________________________________
pspp-dev mailing list
pspp-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to