if ( ! gn_check_arity(XBUF, 2, ARI) ) return; if ( ! gn_get_arg_object(XBUF, B, I, GTK_TYPE_RULER, (GObject**)&object) ) return; if ( ! gn_get_arg_enum(XBUF, B, I, "GtkMetricType", (gint*)&metric) ) return;
if ( ! gn_check_arity(XBUF, 2, ARI) ) return FALSE; if ( ! gn_get_arg_object(XBUF, B, I, GTK_TYPE_RULER, (GObject**)&object) ) return FALSE; if ( ! gn_get_arg_enum(XBUF, B, I, "GtkMetricType", (gint*)&metric) ) return FALSE;
void Gtk_ruler_set_metric(int ARI, ei_x_buff *XBUF, char *B, int *I){  GtkRuler* object;  GtkMetricType metric;  /* no return value */  if ( ! gn_check_arity(XBUF, 2, ARI) ) return;  if ( ! gn_get_arg_object(XBUF, B, I, GTK_TYPE_RULER, (GObject**)&object) ) return;  if ( ! gn_get_arg_enum(XBUF, B, I, "GtkMetricType", (gint*)&metric) ) return;  gtk_ruler_set_metric(object, metric);  gn_put_void(XBUF);}