X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkcssshorthandpropertyprivate.h;h=d5483703140973f5a907f6fda0702d8103b6d0bb;hb=79695ee64d41c9aadfe2c6f18dc7dd1e3fd44852;hp=c07d36c0b6ea269d40d5fb8a10ad4b4311a0615e;hpb=01548bfcbe71cb2b211fd5878c2dc0c3579c277e;p=~andy%2Fgtk diff --git a/gtk/gtkcssshorthandpropertyprivate.h b/gtk/gtkcssshorthandpropertyprivate.h index c07d36c0b..d54837031 100644 --- a/gtk/gtkcssshorthandpropertyprivate.h +++ b/gtk/gtkcssshorthandpropertyprivate.h @@ -12,8 +12,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * License along with this library. If not, see . * * Authors: Benjamin Otte */ @@ -40,9 +39,17 @@ typedef struct _GtkCssShorthandProperty GtkCssShorthandProperty; typedef struct _GtkCssShorthandPropertyClass GtkCssShorthandPropertyClass; typedef gboolean (* GtkCssShorthandPropertyParseFunc) (GtkCssShorthandProperty *shorthand, - GValue *values, - GtkCssParser *parser, - GFile *base); + GtkCssValue **values, + GtkCssParser *parser); +typedef void (* GtkCssShorthandPropertyAssignFunc) (GtkCssShorthandProperty *shorthand, + GtkStyleProperties *props, + GtkStateFlags state, + const GValue *value); +typedef void (* GtkCssShorthandPropertyQueryFunc) (GtkCssShorthandProperty *shorthand, + GValue *value, + GtkStyleQueryFunc query_func, + gpointer query_data); + struct _GtkCssShorthandProperty { GtkStyleProperty parent; @@ -50,6 +57,8 @@ struct _GtkCssShorthandProperty GPtrArray *subproperties; GtkCssShorthandPropertyParseFunc parse; + GtkCssShorthandPropertyAssignFunc assign; + GtkCssShorthandPropertyQueryFunc query; }; struct _GtkCssShorthandPropertyClass