summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
Diffstat (limited to 'eel')
-rw-r--r--eel/eel-gdk-extensions.c21
-rw-r--r--eel/eel-gdk-extensions.h7
2 files changed, 0 insertions, 28 deletions
diff --git a/eel/eel-gdk-extensions.c b/eel/eel-gdk-extensions.c
index 8e86ddef..0a4d62c8 100644
--- a/eel/eel-gdk-extensions.c
+++ b/eel/eel-gdk-extensions.c
@@ -474,27 +474,6 @@ eel_gdk_parse_geometry (const char *string, int *x_return, int *y_return,
return gdk_flags;
}
-void
-eel_cairo_draw_layout_with_drop_shadow (cairo_t *cr,
- GdkRGBA *text_color,
- GdkRGBA *shadow_color,
- int x,
- int y,
- PangoLayout *layout)
-{
- cairo_save (cr);
-
- gdk_cairo_set_source_rgba (cr, shadow_color);
- cairo_move_to (cr, x+1, y+1);
- pango_cairo_show_layout (cr, layout);
-
- gdk_cairo_set_source_rgba (cr, text_color);
- cairo_move_to (cr, x, y);
- pango_cairo_show_layout (cr, layout);
-
- cairo_restore (cr);
-}
-
#if ! defined (EEL_OMIT_SELF_CHECK)
static char *
diff --git a/eel/eel-gdk-extensions.h b/eel/eel-gdk-extensions.h
index b849af6b..9a5d3469 100644
--- a/eel/eel-gdk-extensions.h
+++ b/eel/eel-gdk-extensions.h
@@ -123,11 +123,4 @@ EelGdkGeometryFlags eel_gdk_parse_geometry (const char
guint *width_return,
guint *height_return);
-void eel_cairo_draw_layout_with_drop_shadow (cairo_t *cr,
- GdkRGBA *text_color,
- GdkRGBA *shadow_color,
-
- int x,
- int y,
- PangoLayout *layout);
#endif /* EEL_GDK_EXTENSIONS_H */