diff options
Diffstat (limited to 'eel/eel-gdk-extensions.c')
-rw-r--r-- | eel/eel-gdk-extensions.c | 21 |
1 files changed, 0 insertions, 21 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 * |