]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gtkmathview-bonobo/src/view.c
* completed implementation of View interface
[helm.git] / helm / gtkmathview-bonobo / src / view.c
index bc0c903ef97a9fd8611908b6aef1030db62aa977..b0385a6fe6bc8552481184f313b07a3a7381b262 100644 (file)
@@ -1,6 +1,7 @@
 
 #include <config.h>
 
+#define HAVE_GMETADOM
 #include <gtkmathview.h>
 
 #include "aux.h"
@@ -210,7 +211,7 @@ impl_view_elementBoundingBox(PortableServer_Servant servant,
          gint w;
          gint h;
          gint d;
-         res = gtk_math_view_get_element_coords(view->control_data->math_view, el, &w, &h, &d) ? CORBA_TRUE : CORBA_FALSE;
+         res = gtk_math_view_get_element_bounding_box(view->control_data->math_view, el, &w, &h, &d) ? CORBA_TRUE : CORBA_FALSE;
          gdome_el_unref(el, &exc);
          g_assert(exc == 0);
          *width = w;