summaryrefslogtreecommitdiff
path: root/src/math-history-entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math-history-entry.c')
-rw-r--r--src/math-history-entry.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/math-history-entry.c b/src/math-history-entry.c
index 8a6b4ae..8277f88 100644
--- a/src/math-history-entry.c
+++ b/src/math-history-entry.c
@@ -88,6 +88,12 @@ math_history_entry_insert_entry(MathHistoryEntry *history_entry, const gchar *eq
#undef get_widget
}
+gchar *
+math_history_entry_get_equation(MathHistoryEntry *history_entry)
+{
+ return gtk_widget_get_tooltip_text(history_entry->priv->equation_label);
+}
+
static void
math_history_entry_class_init(MathHistoryEntryClass *klass)
{