summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2022-01-16 13:11:31 +0100
committerraveit65 <[email protected]>2022-01-30 19:34:03 +0100
commited764f51e22708d0772c11cd751b034bff3dd9ea (patch)
tree523c746517371598b9233b81c9dd1c03f4ec45bc
parentfae6f1ca5184bd21262a68de6c3446d626934e59 (diff)
downloadcaja-ed764f51e22708d0772c11cd751b034bff3dd9ea.tar.bz2
caja-ed764f51e22708d0772c11cd751b034bff3dd9ea.tar.xz
eel-editable-label: remove unused method get_font_description
-rw-r--r--eel/eel-editable-label.c9
-rw-r--r--eel/eel-editable-label.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/eel/eel-editable-label.c b/eel/eel-editable-label.c
index ab94ca9b..08a19531 100644
--- a/eel/eel-editable-label.c
+++ b/eel/eel-editable-label.c
@@ -827,15 +827,6 @@ eel_editable_label_get_line_wrap (EelEditableLabel *label)
return label->wrap;
}
-PangoFontDescription *
-eel_editable_label_get_font_description (EelEditableLabel *label)
-{
- if (label->font_desc)
- return pango_font_description_copy (label->font_desc);
-
- return NULL;
-}
-
void
eel_editable_label_set_font_description (EelEditableLabel *label,
const PangoFontDescription *desc)
diff --git a/eel/eel-editable-label.h b/eel/eel-editable-label.h
index ab5f7d1c..5664807c 100644
--- a/eel/eel-editable-label.h
+++ b/eel/eel-editable-label.h
@@ -129,7 +129,6 @@ extern "C" {
void eel_editable_label_get_layout_offsets (EelEditableLabel *label,
gint *x,
gint *y);
- PangoFontDescription *eel_editable_label_get_font_description (EelEditableLabel *label);
void eel_editable_label_set_font_description (EelEditableLabel *label,
const PangoFontDescription *desc);