pspp-dev
[Top][All Lists]
Advanced

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

Re: [PATCH 06/17] pspp-sheet-view-column: Add support for tooltips on co


From: Ben Pfaff
Subject: Re: [PATCH 06/17] pspp-sheet-view-column: Add support for tooltips on columns.
Date: Mon, 23 Apr 2012 22:41:56 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

John Darrington <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]