-/* Callback which occurs when the column title is double clicked */
-static gboolean
-click2column(GtkWidget *w, gint col, gpointer data)
-{
- gint current_row, current_column;
- GtkWidget *var_sheet = get_widget_assert(xml, "variable_sheet");
-
- select_sheet(PAGE_VAR_SHEET);
-
- gtk_sheet_get_active_cell(GTK_SHEET(var_sheet),
- ¤t_row, ¤t_column);
-
- gtk_sheet_set_active_cell(GTK_SHEET(var_sheet), col, current_column);
-
- return FALSE;
-}
-
-
-/* Update the data_ref_entry with the reference of the active cell */
-static gint
-update_data_ref_entry(GtkSheet *sheet, gint row, gint col)
+/* Return the width that an 'M' character would occupy when typeset in WIDGET */
+static guint
+calc_m_width (GtkWidget *widget, const PangoFontDescription *font_desc)