css: Split generic parse/print functions out

It seems to be some sort of sport for me to split them out and merge
them back in...
This commit is contained in:
Benjamin Otte 2012-01-01 18:14:51 +01:00
parent f5fafb18c9
commit 078fc725e0
4 changed files with 1510 additions and 1320 deletions

View File

@ -418,6 +418,7 @@ gtk_private_h_sources = \
gtkcsssectionprivate.h \
gtkcssselectorprivate.h \
gtkcssshorthandpropertyprivate.h \
gtkcssstylefuncsprivate.h \
gtkcssstylepropertyprivate.h \
gtkcustompaperunixdialog.h \
gtkdndcursors.h \
@ -595,6 +596,7 @@ gtk_base_c_sources = \
gtkcssselector.c \
gtkcssshorthandproperty.c \
gtkcssshorthandpropertyimpl.c \
gtkcssstylefuncs.c \
gtkcssstyleproperty.c \
gtkcsstypes.c \
gtkdialog.c \

1465
gtk/gtkcssstylefuncs.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,35 @@
/* GTK - The GIMP Toolkit
* Copyright (C) 2010 Carlos Garnacho <carlosg@gnome.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* 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., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __GTK_CSS_STYLE_FUNCS_PRIVATE_H__
#define __GTK_CSS_STYLE_FUNCS_PRIVATE_H__
#include "gtkcssparserprivate.h"
G_BEGIN_DECLS
gboolean _gtk_css_style_parse_value (GValue *value,
GtkCssParser *parser,
GFile *base);
void _gtk_css_style_print_value (const GValue *value,
GString *string);
G_END_DECLS
#endif /* __GTK_CSS_STYLE_FUNCS_PRIVATE_H__ */

File diff suppressed because it is too large Load Diff