[gtk+/wip/cssvalue: 69/141] cssvalue: Remove unused function
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/cssvalue: 69/141] cssvalue: Remove unused function
- Date: Sat, 7 Apr 2012 17:51:56 +0000 (UTC)
commit d9962431d3552005063cce544e01f36b6aaa1f90
Author: Benjamin Otte <otte redhat com>
Date: Wed Mar 28 03:06:08 2012 +0200
cssvalue: Remove unused function
gtk/gtkcssvalue.c | 7 -------
gtk/gtkcssvalueprivate.h | 1 -
2 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtkcssvalue.c b/gtk/gtkcssvalue.c
index ad4c767..f7900c7 100644
--- a/gtk/gtkcssvalue.c
+++ b/gtk/gtkcssvalue.c
@@ -610,13 +610,6 @@ _gtk_css_value_get_rgba (const GtkCssValue *value)
return value->u.ptr;
}
-cairo_pattern_t *
-_gtk_css_value_get_pattern (const GtkCssValue *value)
-{
- g_return_val_if_fail (_gtk_css_value_holds (value, CAIRO_GOBJECT_TYPE_PATTERN), NULL);
- return value->u.ptr;
-}
-
GtkGradient *
_gtk_css_value_get_gradient (const GtkCssValue *value)
{
diff --git a/gtk/gtkcssvalueprivate.h b/gtk/gtkcssvalueprivate.h
index a9dc842..d99dfd1 100644
--- a/gtk/gtkcssvalueprivate.h
+++ b/gtk/gtkcssvalueprivate.h
@@ -115,7 +115,6 @@ PangoStyle _gtk_css_value_get_pango_style (const
PangoVariant _gtk_css_value_get_pango_variant (const GtkCssValue *value);
PangoWeight _gtk_css_value_get_pango_weight (const GtkCssValue *value);
const GdkRGBA *_gtk_css_value_get_rgba (const GtkCssValue *value);
-cairo_pattern_t *_gtk_css_value_get_pattern (const GtkCssValue *value);
GtkGradient *_gtk_css_value_get_gradient (const GtkCssValue *value);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]