summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-01-23 12:43:16 +0300
committermonsta <[email protected]>2017-01-23 12:43:16 +0300
commit236546c7b27634831f8724cf05c353ee1500da75 (patch)
tree27f14c6f6c242a71c1d1f4c29d5cc7e379668b54 /eel
parentb807eec56ca879088b94dc9923fb0f50f1f22594 (diff)
downloadcaja-236546c7b27634831f8724cf05c353ee1500da75.tar.bz2
caja-236546c7b27634831f8724cf05c353ee1500da75.tar.xz
eel: remove unused function
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 */