#include "gtkcssrgbavalueprivate.h"
#include "gtkcsstypedvalueprivate.h"
#include "gtkcsstypesprivate.h"
-#include "gtkgradient.h"
-#include "gtkgradientprivate.h"
#include "gtkprivatetypebuiltins.h"
#include "gtkstylecontextprivate.h"
-#include "gtksymboliccolorprivate.h"
#include "gtkthemingengine.h"
#include "gtktypebuiltins.h"
#include "gtkwin32themeprivate.h"
+#include "deprecated/gtkgradientprivate.h"
+#include "deprecated/gtksymboliccolorprivate.h"
+
/* this is in case round() is not provided by the compiler,
* such as in the case of C89 compilers, like MSVC
*/
GtkSymbolicColor *symbolic;
GdkRGBA rgba;
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
+
symbolic = _gtk_css_symbolic_value_new (parser);
if (symbolic == NULL)
return FALSE;
g_value_take_boxed (value, symbolic);
}
+ G_GNUC_END_IGNORE_DEPRECATIONS;
+
return TRUE;
}
GtkSymbolicColor *symbolic;
GdkRGBA rgba;
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
+
symbolic = _gtk_css_symbolic_value_new (parser);
if (symbolic == NULL)
return FALSE;
g_value_take_boxed (value, symbolic);
}
+ G_GNUC_END_IGNORE_DEPRECATIONS;
+
return TRUE;
}
{
GtkSymbolicColor *symbolic = g_value_get_boxed (value);
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
+
if (symbolic == NULL)
g_string_append (string, "none");
else
g_string_append (string, s);
g_free (s);
}
+
+ G_GNUC_END_IGNORE_DEPRECATIONS;
}
static gboolean
{
GtkGradient *gradient = g_value_get_boxed (value);
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
+
if (gradient == NULL)
g_string_append (string, "none");
else
g_string_append (string, s);
g_free (s);
}
+
+ G_GNUC_END_IGNORE_DEPRECATIONS;
}
static gboolean